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

Merlin, Solaris 8, UTF-8 input method bugs.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.4.0
    • client-libs
    • None


      Source code is attached. There are two bugs.

      The program will bring up five panes entitled
      (1) AWT Labels, (2) AWT TextFields, (3) Swing Components,
      (4) Java2D Stroke, and (5) Java2D Fill.

      In each pane there is a grid of Strings. There are 5 rows
      and 4 columns. The rows are labelled (1) Serif,
      (2) SansSerif, (3) Monospaced, (4) Dialog, and
      (5) DialogInput. The columns are labelled (1) Plain,
      (2) Italic, (3) Bold, and (4) BoldItalic.

      Also on each pane, in the upper right corner, are displayed
      the locale and language, where the language is displayed
      in the locale's language and is liable to contain non-English
      characters.

      Start the program. Click on the "AWT TextFields" tab. Just below
      the application window is a small window X that allows you to choose
      any number of scripts. Try them all in two of the TextFields
      on the AWT TextFields pane. In all cases type "k<space>".

      Bug #1: In the Serif/Plain TextField, the character entered is
      always an English 'k'.

      Bug #2: In all other TextFields the same Chinese character will display
      independent of the input text chosen in the small window X. I don't
      understand Chinese, but you don't need to understand Chinese to
      see the bug.


      algol% uname -a
      SunOS algol 5.8 Generic_108528-03 sun4u sparc SUNW,Ultra-2
      algol% showrev -p
      Patch: 109137-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
      Patch: 108974-06 Obsoletes: 109343-04 Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWcarx, SUNWcsxu, SUNWhea
      Patch: 108975-03 Obsoletes: Requires: 108968-01, 108974-01, 108977-01 Incompatibles: Packages: SUNWcsu, SUNWvolu
      Patch: 108528-03 Obsoletes: 109153-01, 109656-01, 109291-06, 109663-01, 109309-02, 109345-02 Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWcarx, SUNWcar, SUNWcpr, SUNWcprx, SUNWcsxu, SUNWhea, SUNWmdb, SUNWmdbx, SUNWpmu, SUNWpmr, SUNWpmux, SUNWsrh, SUNWtnfc, SUNWtnfcx
      Patch: 108875-07 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWcslx, SUNWcsl, SUNWcarx, SUNWarc, SUNWcstl, SUNWcstlx, SUNWhea
      Patch: 109783-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
      Patch: 108985-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
      Patch: 109277-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
      Patch: 108977-01 Obsoletes: Requires: 108974-01 Incompatibles: Packages: SUNWcsr, SUNWhea, SUNWvolu, SUNWvolux
      Patch: 108968-02 Obsoletes: Requires: 108974-01, 108977-01 Incompatibles: Packages: SUNWcsr, SUNWesu, SUNWhea, SUNWvolu, SUNWvolux
      Patch: 108652-18 Obsoletes: Requires: Incompatibles: Packages: SUNWxwfnt, SUNWxwplt, SUNWxwplx, SUNWxwinc, SUNWxwman, SUNWxwpmn, SUNWxwslb
      Patch: 108940-12 Obsoletes: Requires: Incompatibles: Packages: SUNWmfrun, SUNWdtbax
      Patch: 109320-01 Obsoletes: Requires: Incompatibles: Packages: SUNWpcu, SUNWpsu
      Patch: 109951-01 Obsoletes: Requires: Incompatibles: Packages: SUNWjwnsu
      algol% /usr/local/java/jdk1.4.0/solsparc/bin/java -version
      java version "1.4.0beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0beta-b42)
      Java HotSpot(TM) Client VM (build 1.4beta-B42, mixed mode)
      algol% echo $LANG
      zh_TW.UTF-8
      algol% env |grep LC



      allan.jacobs@Eng 2000-12-01

      Logging into en_US.UTF-8 instead of zh_TW.UTF-8 clarifies the situation. Bug #2
      is present in this locale, too. No matter what input script is selected you always
      get English.

      allan.jacobs@Eng 2000-12-01

      I used what looks like a small frame below and to the left of the application frame.
      The application frame itself contains what looks like a text field below it. Using
      the text field below to toggle the input language works.

      What is the small frame for?

      allan.jacobs@Eng 2000-12-01

      Input seems to be completely broken for anything except Japanese in the locale
      ja_JP.UTF-8.

      allan.jacobs@Eng 2000-12-04

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: