This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Please support CP932. (I have problem using subversion with SJIS)


On 23 January 2010 15:07, Corinna Vinschen:
> Ouch. ÂI understand now. ÂStandard SJIS is *really* different from
> Microsoft CP932 in two code points:
>
> ÂCP932 0x5c == U+005E
> ÂSJIS Â0x5c == U+00A5
>
> ÂCP932 0x7e == U+007E
> ÂSJIS Â0x7e == U+203E

Aargh! I wonder what that would do to DOS paths and stuff like ~username.

> Would it be a valid help for your case if Cygwin's SJIS conversion would
> convert 0x5c to U+00A5 and 0x7e to 203E, so that the SJIS conversion
> would be really correct *and* bijective?

I think that's the correct thing to do, but it'll likely break other
stuff. Seems SJIS really isn't suited for Unix command line use. All
the more reason to make EUC-JP the default for "ja_JP" I guess.

> ÂTo me this sounds like the
> better solution than adding a CP932 charset identifier.

I agree. Simply aliasing CP932 to SJIS is wrong, because they are
quite different character sets. Supporting CP932 as a charset in its
own right might be worth considering though, especially as that's the
standard charset on Japanese Cygwin 1.5.

Andy

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]