From: Aki Inoue (aki@apple.com)
Date: Tue Dec 10 2002 - 18:42:38 EST
Chang,
> 3. Convert simplified Chinese characters to something like
> "\u00e7\u2030\u02c6\u00e6\ufffd\u0192\u00e7\u00bb\u0153\u00e6\u02dc\u01
> 7d\u00e7\u00bd\u2018\u00e7\u00bb\u0153" using native2ascii tool
> provided by sun.
native2ascii seems to be mapping your simplified chinese source file
using cp1252 instead of cp936.
You can specify the encoding for the command like:
native2ascii -encoding windows-936
Aki
On 2002.12.10, at 03:18 PM, Chang Liu wrote:
> Hi,
>
> I am trying to display Chinese character (Simplified) in Java swing
> app on English windows 2000 OS. But I am having trouble displaying all
> the Chinese characters (only some characters are displayed). Here is
> the info. about my app:
>
> 1. Java Swing app.
> 2. Windows 2000 OS.
> 3. Convert simplified Chinese characters to something like
> "\u00e7\u2030\u02c6\u00e6\ufffd\u0192\u00e7\u00bb\u0153\u00e6\u02dc\u01
> 7d\u00e7\u00bd\u2018\u00e7\u00bb\u0153" using native2ascii tool
> provided by sun.
> 4. The app. reads above codes and displayed partial Chinese characters
> (Dialog font).
> 5. I tried some other Chinese characters as well, it can display
> some as well.
>
> Can anyone help me on this? It seems that the simplified Chinese
> character set I am using does not include all the characters. And if
> it is so, how can I add more? thanks!
>
>
>
> Chang Liu
>
>
This archive was generated by hypermail 2.1.5 : Tue Dec 10 2002 - 19:27:43 EST