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

JDK/JRE 1.1.2 does not work properly in Japanese (or any non-ISO8859-1 codeset)

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Build:
      b01
    • Introduced In Version:
    • Resolved In Build:
      b01
    • CPU:
      generic, x86, sparc
    • OS:
      solaris_2.5, solaris_2.5.1, solaris_9
    • Verification:
      Not verified

      Description

      [katakai 5/30/97 JST]
      original bug report is following. The window title of Hotjava
      can not be displayed with Japanese, shows garbage.

      -- mkoike 5/28/97 ---
      hotjava window title looks gabaged when it is japanese.

      I installed Japanese Solaris 2.6 build 34 to a x86 machine.
      If the title of hotjava written in Japanese, it looks gabaged.
      --

      JVM had been changed to 19n from 18n on build34 and
      the 19n JVM does not work properly with Japanese characters
      on only Intel platform. I never saw the problem on SPARC.
      The problem happens on HotJava, E-Reg also. It would be
      very serious for Intel users.

      Please try to run a simple applet of attachment in japanese locale.
      This applet will get japanese character from param and display the
      character into TextField. You can see only ascii character
      can be displayed. The problem does not happen on SPARC and
      Intel 18n JVM.

      import java.applet.Applet;
      import java.awt.*;
      import java.util.StringTokenizer;

      public class TextFieldApplet extends Applet {
              public void init(){
                      String param = getParameter("labels");
                      StringTokenizer st = new StringTokenizer(param, "|");
                      while(st.hasMoreTokens()){
                              String p=(String)st.nextToken();
                              add(new TextField(p,20));
                      }
              }
      }

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              apalanissunw Anand Palaniswamy (Inactive)
              Reporter:
              duke J. Duke (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: