Running with JDK 1.3 pre-FCS build E. Source code is attached. 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
algol.eng.sun.com% uname -a
SunOS algol.eng.sun.com 5.8 s28_31 sun4u sparc SUNW,Ultra-2
Login to zh.UTF-8, zh_CN.UTF-8, or zh_TW.UTF-8. Run the test. Chinese characters are
not rendered in the panes for AWT Labels, Swing Components, Java2D Stroke,
Same pattern observed in zh_TW.BIG5.
Definitely a JDK bug. This is a bug for zh_TW.BIG5 on a Solaris 7 system, too.
On an x86/Solaris 8 (build 34) system using JDK 1.3 build M, the behavior has
changed. The three UTF-8 locales now seem to be functinal with one exception.
The exception is in zh_TW.UTF-8 on the Swing Components tab under the column
marked Plain. The Chinese is mangled there. BIG5 still needs to be checked.
In Solaris 7/zh_TW.BIG5, JDK 1.3 build M, there are problems in three panes:
Swing Components, Java2D Stroke, and Java2D Fill. In each of these, only the
column marked Plain is in bad shape.