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

Japanese characters display as squares using Plugin 1.1.3_001/JRE 1.1.8_003

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.1.3
    • deploy
    • x86
    • windows_nt



      Name: rlT66838 Date: 03/27/2000


      java version "1.2.2.Symc"
      Classic VM (build 1.1.2.Symc, native threads, symantec gc, symcjit)

      Japanese characters display as squares using Plugin 1.1.3_001/JRE 1.1.8_003

      There has been a regression between Java plugin 1.1.3 and Java plugin
      1.1.3_001. This is directly attributable to changes between JRE 1.1.8 and JRE
      1.1.3_003.

      The symptom is that Japanese characters on Japanese Windows NT are displayed as
      squares.

      The same bug is reported in 4059777. The problem was fixed at that time but it
      is back again in the latest JRE/Plugin 1.1 release. Here is the test program
      from that bug report that can be used to reproduce this problem:

      "----------------------------------------------------------------------

      import java.applet.*;
      import java.awt.*;

      public class HelloApplet extends Applet {
        public void paint(Graphics g) {
          g.drawString
            ("\uff7a\uff9d\uff86\uff81\uff8a\u4e16\u754c\uff01", 100, 100);
        }
      }

      ----------------------------------------------------------------------

      This applet displays Japanese translation of "Hello World !"."

      Here is the evaluation from the Java developer:

      "The Win32 code was following the Motif model of converting all fonts; only
      fonts marked with the Win32-specific NEEDS_CONVERTING font.properties attribute
      should be converted however."
      (Review ID: 102867)
      ======================================================================

            duke J. Duke
            rlewis Roger Lewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: