| delorie.com/archives/browse.cgi | search |
2009/9/29 Corinna Vinschen <corinna-cygwin AT cygwin DOT com>:
> I asked if the default charset for the japanese language should be set
> to EUCJP rather than SJIS. =C2=A0The actual implementation would have been
> like this
>
> =C2=A0if (lang=3D"xx or lang=3D"xx_XX" with x in [a-z] and X in [A-Z]?)
> =C2=A0 =C2=A0set_charset_from_codepage()
>
> =C2=A0set_charset_from_codepage()
> =C2=A0{
> =C2=A0 =C2=A0switch (GetANSI ())
> =C2=A0 =C2=A0[...]
> =C2=A0 =C2=A0case 932:
> =C2=A0 =C2=A0 =C2=A0charset=3D"EUCJP" =C2=A0 =C2=A0<-- Instead of the cur=
rent `charset=3D"SJIS"
> =C2=A0 =C2=A0[...]
> =C2=A0}
I think that it is not good for Japanese users because EUCJP doesn't
become substitution of SJIS.
--=20
IWAMURO Motnori <http://vmi.jp/>
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |