From: Jane Liu (email@example.com)
Date: Thu May 29 2003 - 10:25:29 EDT
Hi Philippe and Kazuhiro,
Thanks for your quick response.
I think I may made a mistake to give the code page alias name,
actually, my program doesn't specify the encoding value explicitly.
So by default, JVM will take the system default when it's
Do you know which one is being taken by the SUN JVM as the default on
Windows 2000 Japanese system?
I guess base on Kazama-san's investigation, the alias name
"Shift_JIS" might lead to a wrong mapping table, so if SUN did take
it as the default then that's why I am having the different
Do you know if I use the alias "Windows-31J", then it will fix the
problem? If so, then how could I specify this in the program to
overwrite the default vaule taken by the JVM?
Thank you very much!
--- Kazuhiro Kazama <firstname.lastname@example.org> wrote:
> From: Jane Liu <email@example.com>
> Subject: Shift-JIS/Unicode mapping in JAVA
> Date: Wed, 28 May 2003 12:36:39 -0700 (PDT)
> Message-ID: <firstname.lastname@example.org>
> > I am running a JAVA program on Japanese Windows 2000 system,
> > at the Unicode conversion of the following four characters from
> > Shift-JIS encoding (MS-CP932) in both JRE 1.3.1 and JRE 1.4.1,
> > noticed some interesting changes:
> I guess that you used the charset name "Shift_JIS". Would you try
> use "Windows-31J"?
> Two Shift-JIS variations are registed in the IANA registry:
> "Shift_JIS" and "Windows-31J". The former is for JIS X 0208 and the
> latter is for Microsoft's CP932. "Windows-31J" was proposed by one
> Microsoft's Japanese engeneers.
> "Shift_JIS" is aliased to JIS X 0208 in JDK 1.1-1.1.7. But it is
> re-aliased to CP932 in JDK 1.1.8-J2SE 1.4 ("Windows-31J" is also
> aliased to CP932) and we found problems that we can't select the
> character encoding in J2EE platforms or there is a mapping
> mis-matching between JDK and Xerces (Xerces has an original alias
> table to alias "Shift_JIS" to JIS X 0208).
> So we requested the following alias change and it was accepted in
> Shift_JIS -> JIS X 0208's shift-jis encoding.
> Windows-31J -> Microsoft's CP932
> See changes of J2SE 1.4.1.
> Kazuhiro Kazama (email@example.com) NTT Network Innovation
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
This archive was generated by hypermail 2.1.5 : Thu May 29 2003 - 12:02:44 EDT