-
Bug
-
Resolution: Won't Fix
-
P4
-
None
-
1.4.2
-
itanium
-
linux_redhat_7.2
=========================================================
OS : RedHat Linux 7.2 ia64
JDK: Mantis jdk1.4.2 b14 & b15
j2sdk-1_4_2-beta-bin-b14-linux-ia64-22_jan_2003.bin
j2sdk-1_4_2-beta-bin-b15-linux-ia64-24_jan_2003.bin
TestCase : CharView.java, CharViewMultiLine.java
locale : ja
=========================================================
Japanese character are displayed with Mantis b14 - This is #4704500's fix(verified with b14).
However, AWT component like a TextField, TextArea and Choice has a problem.
Japanese charcter are not displyed/inputted correctly on TextField, TextArea and Choice.
The character are "mojibake".
This is reproducible with Mantis b15 also.
To reproducible,
a) to see the TextField problem;
1) Run CharView(attached)
2) Comes up CharView dialog.
3) Input Japanese Charcter code.
ex. 3000 or 4e00
4) Change from "Button" to "TextField" using Choice
You can see that Japanese character are "mojibake" on TextField.
5) Input some japanese charcter.
You can see that inputted characger are "mojibake".
b) to see the TextArea and Choice problem;
1) Run CharViewMultiLine(attached)
2) Comes up CharViewMultiLine dialog.
3) Input Japanese character code.
ex.3000 or 4e00
You can see that Japase character are "mojibake" on TextArea.
4) Change from "TextArea" to "Choice" using Choice
You can see that Japanese character are "mojibake" on Choice.
* This problem are not seen on Swing component like a JTextFiedl/JTextArea.
JTextField/JTextArea can display ja char and input correctly.
NOTE:
Running test case on RH7.2 ia64, Warning display as below.
This problem is filed already as a #4807550.
Warning: Cannot convert string "-watanabe-mincho-medium-r-normal--*-140-*-*-c-*-jisx0208.1983-0" to type FontStruct
--- locale info -----
[rs88024@guiness ~]$ locale
LANG=ja_JP.eucJP
LC_CTYPE="ja_JP.eucJP"
LC_NUMERIC="ja_JP.eucJP"
LC_TIME="ja_JP.eucJP"
LC_COLLATE="ja_JP.eucJP"
LC_MONETARY="ja_JP.eucJP"
LC_MESSAGES="ja_JP.eucJP"
LC_PAPER="ja_JP.eucJP"
LC_NAME="ja_JP.eucJP"
LC_ADDRESS="ja_JP.eucJP"
LC_TELEPHONE="ja_JP.eucJP"
LC_MEASUREMENT="ja_JP.eucJP"
LC_IDENTIFICATION="ja_JP.eucJP"
LC_ALL=
=============================================================================
I confirmed that this problem is seen on not only japanese character code, but also other code such as 00A0-00FF, 0410-044F.
[###@###.### 2003-01-29]
=============================================================================
OS : RedHat Linux 7.2 ia64
JDK: Mantis jdk1.4.2 b14 & b15
j2sdk-1_4_2-beta-bin-b14-linux-ia64-22_jan_2003.bin
j2sdk-1_4_2-beta-bin-b15-linux-ia64-24_jan_2003.bin
TestCase : CharView.java, CharViewMultiLine.java
locale : ja
=========================================================
Japanese character are displayed with Mantis b14 - This is #4704500's fix(verified with b14).
However, AWT component like a TextField, TextArea and Choice has a problem.
Japanese charcter are not displyed/inputted correctly on TextField, TextArea and Choice.
The character are "mojibake".
This is reproducible with Mantis b15 also.
To reproducible,
a) to see the TextField problem;
1) Run CharView(attached)
2) Comes up CharView dialog.
3) Input Japanese Charcter code.
ex. 3000 or 4e00
4) Change from "Button" to "TextField" using Choice
You can see that Japanese character are "mojibake" on TextField.
5) Input some japanese charcter.
You can see that inputted characger are "mojibake".
b) to see the TextArea and Choice problem;
1) Run CharViewMultiLine(attached)
2) Comes up CharViewMultiLine dialog.
3) Input Japanese character code.
ex.3000 or 4e00
You can see that Japase character are "mojibake" on TextArea.
4) Change from "TextArea" to "Choice" using Choice
You can see that Japanese character are "mojibake" on Choice.
* This problem are not seen on Swing component like a JTextFiedl/JTextArea.
JTextField/JTextArea can display ja char and input correctly.
NOTE:
Running test case on RH7.2 ia64, Warning display as below.
This problem is filed already as a #4807550.
Warning: Cannot convert string "-watanabe-mincho-medium-r-normal--*-140-*-*-c-*-jisx0208.1983-0" to type FontStruct
--- locale info -----
[rs88024@guiness ~]$ locale
LANG=ja_JP.eucJP
LC_CTYPE="ja_JP.eucJP"
LC_NUMERIC="ja_JP.eucJP"
LC_TIME="ja_JP.eucJP"
LC_COLLATE="ja_JP.eucJP"
LC_MONETARY="ja_JP.eucJP"
LC_MESSAGES="ja_JP.eucJP"
LC_PAPER="ja_JP.eucJP"
LC_NAME="ja_JP.eucJP"
LC_ADDRESS="ja_JP.eucJP"
LC_TELEPHONE="ja_JP.eucJP"
LC_MEASUREMENT="ja_JP.eucJP"
LC_IDENTIFICATION="ja_JP.eucJP"
LC_ALL=
=============================================================================
I confirmed that this problem is seen on not only japanese character code, but also other code such as 00A0-00FF, 0410-044F.
[###@###.### 2003-01-29]
=============================================================================
- relates to
-
JDK-4890554 Japanese charcter is mojibake on AWT component with Tiger b10/RedHatAS2.1 ia64
-
- Closed
-
-
JDK-4704500 Japanese characters does not display with drawString on Itanium 64bit RedHatLinu
-
- Closed
-
-
JDK-4807550 "Warning: Cannot convert string" outputs with Mantis b14 on RedHatLinux7.2 64bit
-
- Closed
-