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

Japanese charcter is mojibake on AWT component with Tiger b10/RedHatAS2.1 ia64

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b25
    • CPU:
      itanium
    • OS:
      linux
    • Verification:
      Verified

      Description

      ===================================================
      OS : RedHat Linux Advanced Server 2.1 itanium2
      JDK : Tiger jdk1.5.0 b10
      TestCase : CharView.java, CharViewMultiLine.java
      locale : ja
      ===================================================

      Japanese characters are "mojibake" on AWT component like a TextField, TextArea and Choice.

      And one more problem,
      Running java application, warning messages are displayed on terminal as below;

      Warning: Cannot convert string "-b&h-luxisans-medium-r-normal--*-140-*-*-p-*-iso8859-1" to type FontStruct
      Warning: Cannot convert string "-misc-kochigothic-medium-r-normal--*-140-*-*-c-*-jisx0201.1976-0" to type
      FontStruct
      Warning: Cannot convert string "-misc-kochigothic-medium-r-normal--*-140-*-*-c-*-jisx0208.1983-0" to type FontStruct

       
      To reproducible,
      a) to see the TextField problem;
         1) Run CharView(attached)
            <--- Warnign messages are displayed on terminal.
         2) Comes up CharView dialog.
         3) Input Japanese Charcter code.
            ex. 3000 or 4e00
         4) Change from "Button" to "TextField" using Choice
      Then, you can see that Japanese character are "mojibake" on TextField.

      b) to see the TextArea and Choice problem;
         1) Run CharViewMultiLine(attached)
            <--- Warnign messages are displayed on terminal.
         2) Comes up CharViewMultiLine dialog.
         3) Input Japanese character code.
            ex. 3000 or 4e00
      You can see that Japase character are "mojibake" on TextArea.
         4) Change from "TextArea" to "Choice" using Choice
      You can see that Japanese character are "mojibake" on Choice.

      * This problem does not occur on Swing component.
      * This problem does not occut with Mantis FCS.
      Threfore, this is a regression bug.


      ** NOTE **
      If Warnign message problem needs to be filed as a another bug, please let me know.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sherman Xueming Shen
              Reporter:
              rsuzukisunw Rieko Suzuki (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: