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

Chinese input method is broken in zh.UTF-8 and zh_CN.UTF-8 locales.

XMLWordPrintable


      Source code is attached. The bug exists on x86. I am unable to test on Sparc.

      When run the test window has 5 tabs in a TabbedPane:
      (1) "AWT Labels", (2) "AWT TextFields", (3) "Swing Components",
      (4) "Java2D Stroke", and (5) "Java2D Fill". Each of the panes presents an
      string using (1) Plain, (2) Italic, (3) Bold, and (4) BoldItalic fonts.
      Generic fonts are used: (1) Serif, (2) SansSerif, (3) Monospaced,
      (4) Dialog, and (5) DialogInput.

      Click on the AWT TextField tab. Click on one of the text fields to give
      it focus. Type Ctrl-Space to change the input mode. Begin typing.
      Nothing will happen.

      allan.jacobs@Eng 1999-11-10

      I was completely wrong about input methods in UTF-8 locales. There is
      a universal input method that seems to be used. It's use is completely
      undocumented. But, that is not your problem.

      To get to the input method, mouse click the text field at the bottom of the
      X window enclosing the application. This will bring up a dialog with a
      number of entries that choose ranges within the Unicode character set or
      locales (it's hard to know in the absence of documentation).

      There are two Chinese choices (S-Chinese) and (T-Chinese). After selecting
      either of these I can't seem to enter any characters into the text field.

      allan.jacobs@Eng 1999-11-11

            naoto Naoto Sato
            ajacobssunw Allan Jacobs (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: