Re: Shift-JIS/Unicode mapping in JAVA

2003-05-30 Thread Kazuhiro Kazama
From: "Philippe Verdy" <[EMAIL PROTECTED]> Subject: Re: Shift-JIS/Unicode mapping in JAVA Date: Thu, 29 May 2003 17:11:05 +0200 Message-ID: <[EMAIL PROTECTED]> > So it would cause problems with other compliant JVMs. Would you show the problem? I would like to analyze

Re: Shift-JIS/Unicode mapping in JAVA

2003-05-30 Thread Philippe Verdy
Don't use "Windows-31J", it is a encoding name alias that is not used by Microsoft for its 932 codepage! So it would cause problems with other compliant JVMs. Better use "CP932" which seems to be the canonical name used by Sun in its reference implementation, or "windows-932" documented in the M

Re: Shift-JIS/Unicode mapping in JAVA

2003-05-30 Thread Jane Liu
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 initialized. Do you know which one is being taken

Re: Shift-JIS/Unicode mapping in JAVA

2003-05-29 Thread Kazuhiro Kazama
From: "Philippe Verdy" <[EMAIL PROTECTED]> Subject: Re: Shift-JIS/Unicode mapping in JAVA Date: Thu, 29 May 2003 12:56:58 +0200 Message-ID: <[EMAIL PROTECTED]> > I think that the canonical name of this encoding should be used, as >"Windows-31J" is very uncomm

Re: Shift-JIS/Unicode mapping in JAVA

2003-05-29 Thread Philippe Verdy
From: "Kazuhiro Kazama" <[EMAIL PROTECTED]> > From: Jane Liu <[EMAIL PROTECTED]> > Subject: Shift-JIS/Unicode mapping in JAVA > Date: Wed, 28 May 2003 12:36:39 -0700 (PDT) > Message-ID: <[EMAIL PROTECTED]> > > I am running a JAVA program on Japanese Windows 2000 system, looking > > at the Unicode c

Re: Shift-JIS/Unicode mapping in JAVA

2003-05-29 Thread Kazuhiro Kazama
From: Jane Liu <[EMAIL PROTECTED]> Subject: Shift-JIS/Unicode mapping in JAVA Date: Wed, 28 May 2003 12:36:39 -0700 (PDT) Message-ID: <[EMAIL PROTECTED]> > I am running a JAVA program on Japanese Windows 2000 system, looking > at the Unicode conversion of the following four characters from > Shift-

Re: Shift-JIS/Unicode mapping in JAVA

2003-05-29 Thread Philippe Verdy
Most probably, Sun upgraded its tables from ICU, and ICU had this bug, which did not exist in their prior tables for MS-CP932. So the source of the data may now be different, or there may be an alias problem in the MS-CP932 encoding name. Submit this bug to Sun, (and probably also to IBM's ICU),

RE: Shift-JIS <-> Unicode?

2002-06-15 Thread Addison Phillips [wM]
://ftp.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/JIS/ ~Addison > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Stefan Persson > Sent: 2002年6月15日 8:35 > To: Addison Phillips [wM]; [EMAIL PROTECTED] > Subject: Re: Shi

Re: Shift-JIS <-> Unicode?

2002-06-15 Thread Stefan Persson
- Original Message - From: "Addison Phillips [wM]" <[EMAIL PROTECTED]> To: "Stefan Persson" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, June 15, 2002 4:49 PM Subject: RE: Shift-JIS <-> Unicode? >Yes. There is one on the Unicode

RE: Shift-JIS <-> Unicode?

2002-06-15 Thread Addison Phillips [wM]
Yes. There is one on the Unicode FTP site. There is also one in the ICU library (http://oss.software.ibm.com/developerworks/opensource/icu/project/index.html). Before you go off and get the table, though, you should note that: 1. There are several varieties of SJIS. Notably Microsoft code page