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 Tue, 26 Jan 2010 18:28:53 +0000
>>> Andy Koppe said:

> Another example is X11, which has its own locale system independent
> from Cygwin's. There, "ja_JP" implies eucJP already. This means that
> with LANG=ja_JP, xterm uses eucJP, while filenames and programs
> currently use the system's ANSI codepage, i.e. CP932 on Japanese
> systems. Result: mojibake. It does work correctly with
> LANG=ja_JP.SJIS.

You should set an appropriate alias in locale.aliases.

When the i18n framework in X11 was implemented, The default
character encoding in the Japanese locale wasn't necessarily
EUC-JP. I remember there was a conditional macro in the source
of locale.aliases to adjust it about 20 years ago.

The default encoding in the X11 locale should be adjusted to
the system locale. It is a natural way of solving this problem.
-- 
Kazuhiro Fujieda 


--
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]