Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4382191

Solaris/UTF8:a part of Japanese characters are missing in TextField/TextArea

XMLWordPrintable

    • x86, sparc
    • solaris, solaris_7, solaris_8


      Tested with jdk1.3.1 ea_b04 on Solaris7 and 8 IA / UTF-8 locale

      A part of Japanese characters can not be displayed on TextField and TextArea.

      To reproduce:
      1. Compile attached program, CharView.java CharViewMultiLine.java FontView.java
      2. For TextField, excute CharView.
      3. Select TextFiled.
      4. Input 3000 or 4e00 in input area.
      5. For TextArea, excute CharViewMultiLine.
      6. Select TextArea
      4. Input 3000 or 4e00 in input area.

      The result:
      1)Solaris 7 IA/ UTF8 locale
      For example, you can see that character which code is in the code range below is not displayed in TextField and TextArea;
      Hiragana:
      \u3041 ~ \u304f
      \u30a1 ~ \u30af
      Kanji:
      \u4e06 ~ \u4e6f
      \u4e20 ~ \u4e2f...etc.

      From these CharView and CharViewMultiLine phenomenon,
      it seems that Japanese characters follows a first appearance of character which code is not in JIS0208 and JIS0212 are not displayed.

      With jdk1.3.1 ea_b01 and ea_b03,
      this problem does not occur in TextField.
      On the other hand, this problem occurs in TextArea.

      With Kestlrel, the phenomenon is same as jdk1.3.1 ea_b04.


      2)Solaris 8 IA/ UTF8 locale
      The problem is not seen in TextField, however, it is seen in TextArea.

      This problem is seen in TextArea also with jdk1.3.1 ea_b01, ea_b03 and Kestrel.

            sherman Xueming Shen
            mmtokunasunw Mtokunaga Mtokunaga (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: