-
Bug
-
Resolution: Won't Fix
-
P4
-
None
-
1.4.1
-
sparc
-
solaris_8
hopper b06
solaris8 zh.UTF-8
couldn't input and display the gbk char such as \u4e02.
Also this problem exist in all of j2se version.
reproduce as fellow:
tar -xvf awt.tar
cd awt/classes
java awttest -resource resources french
then you can see the last char in resources_zh_CN.properties couldn't display in awt component, also if you can that char in edit component with input method utf16, it will fail to input.
and I copy file font.properties.zh_CN_UTF8 to font.properties.zh_CN_UTF8.5.8 under java/jre/lib/ and replace the "-monotype-song-medium-r-normal--*-%d-*-*-m-*-gb2312.1980-0" to "-sun-song-medium-r-normal--*-%d-*-*-c-*-gbk-0" and sun.awt.motif.CharToByteX11GB2312 to sun.awt.motif.CharToByteX11GBK, see attachment, and the display and inputmethod are ok, but when choose the choice item, still get some warning message in console.
as there have patch for gb18030 for s8, so maybe it should support gb18030 char in utf8
###@###.### 10/5/04 00:47 GMT
solaris8 zh.UTF-8
couldn't input and display the gbk char such as \u4e02.
Also this problem exist in all of j2se version.
reproduce as fellow:
tar -xvf awt.tar
cd awt/classes
java awttest -resource resources french
then you can see the last char in resources_zh_CN.properties couldn't display in awt component, also if you can that char in edit component with input method utf16, it will fail to input.
and I copy file font.properties.zh_CN_UTF8 to font.properties.zh_CN_UTF8.5.8 under java/jre/lib/ and replace the "-monotype-song-medium-r-normal--*-%d-*-*-m-*-gb2312.1980-0" to "-sun-song-medium-r-normal--*-%d-*-*-c-*-gbk-0" and sun.awt.motif.CharToByteX11GB2312 to sun.awt.motif.CharToByteX11GBK, see attachment, and the display and inputmethod are ok, but when choose the choice item, still get some warning message in console.
as there have patch for gb18030 for s8, so maybe it should support gb18030 char in utf8
###@###.### 10/5/04 00:47 GMT