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

Chinese characters not displaying properly after updating to JRE 1.3.0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.3.0
    • client-libs
    • 2d
    • x86
    • windows_95



      Name: skT45625 Date: 08/09/2000


      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
      Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)



      Chinese characters were displaying properly on JRE1.3 Beta. After updating the
      JRE to 1.3.0, they are not being displayed properly.

      1. Exact steps to reproduce the problem:-
       On a system with the following config:
       - Runs on English Windows 95
       - Microsoft Traditional & Simplified Chinese Language Support Pack installed
         These will provide fonts - MS Hei, MS Song and MingLiu
       - Runs on JRE1.3.0
       - font.properties file that looks like:-
         ..
         dialog.plain.0=Arial,ANSI_CHARSET
         dialog.plain.1=MS Hei,GB2312_CHARSET
         dialog.plain.2=WingDings,SYMBOL_CHARSET,NEED_CONVERTED
         dialog.plain.3=Symbol,SYMBOL_CHARSET,NEED_CONVERTED
         ..
         filename.MS_Hei=MSHEI.TTF
         ..

      2. Java SOURCE CODE that demonstrates the problem, if possible
         Code snippets:
         ..
         JLabel label = new JLabel("\u59d3\u540d"); // 2 chinese characters in Big5
      encoding
         ..

      * The above system settings and program codes WORKED on JRE 1.3Beta, Chinese
      characters where displaying perfectly. It also worked on previous Java2 JRE's.
      But not on JRE1.3.0.
      (Review ID: 108156)
      ======================================================================

            pkejriwasunw Parry Kejriwal (Inactive)
            skondamasunw Suresh Kondamareddy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: