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

Inputted Uigur character can not be displayed on TextArea

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 5.0u4
    • client-libs

      OPERATING SYSTEM(S):
      Windows XP Professional Simplified Chinese
      Windows XP Professional x64 Simplified Chinese

      FULL JDK VERSION(S):
      java version "1.5.0_04"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
      Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode)

      DESCRIPTION:
      - Exact steps to reproduce
       1. Compile and run testcase: "TextTextArea.java"
       2. Focus on Input text area, press Ctrl+Space, and switch to Unicode IM (NeiMa with UnicodeIM)
       3. Input Uigur chars such as unicode 'U+0680'
       4. The inputted Uigur chars can't be displayed.<-- Problem

      - Minimal source code that demonstrates the problem
      =============================================================
      import java.awt.*;
      import java.awt.event.*;

      public class TestTextArea extends Frame {
          TextArea eg;
          TestTextArea() {
              super("Test TextArea component.");
              eg = new TextArea("TEST");
              add(eg);
              addWindowListener(new WindowAdapter() {
                  public void windowClosing(WindowEvent event) { System.exit(0); }
              });
              setSize(200, 100);
              setVisible(true);
          }
          public static void main(String[] args) {
              new TestTextArea();
          }
      }
      =============================================================
       
      - Any additional configuration information)
        Copy a Uigur character (U+0680) then paste to TextArea, the Uigur character can display correctly

            yyamasaksunw Yuriko Yamasaki (Inactive)
            dav Andrei Dmitriev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: