delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/27/02:10:49

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
Subject: Re: Please support CP932. (I have problem using subversion with SJIS)
References: <416096c61001230751m308ac854x4f026b1f83b966d0 AT mail DOT gmail DOT com> <416096c61001231431u7e67cd37r2e741d0cb48c732f AT mail DOT gmail DOT com> <20100124093750 DOT GA2402 AT calimero DOT vinschen DOT de> <416096c61001240217l130c3e05ob5df918fd822be2d AT mail DOT gmail DOT com> <20100124120508 DOT GD2402 AT calimero DOT vinschen DOT de> <20100124123212 DOT GE2402 AT calimero DOT vinschen DOT de> <e22ab97b1001240800q1414e1a1qd10ea1669b37e300 AT mail DOT gmail DOT com> <20100124162358 DOT GG2402 AT calimero DOT vinschen DOT de> <s1s3a1slt71 DOT fsf AT jaist DOT ac DOT jp> <20100126170615 DOT GV2402 AT calimero DOT vinschen DOT de> <416096c61001261028l25613697obdfc549154fe175a AT mail DOT gmail DOT com>
From: Kazuhiro Fujieda <fujieda AT jaist DOT ac DOT jp>
Date: Wed, 27 Jan 2010 16:10:33 +0900
In-Reply-To: <416096c61001261028l25613697obdfc549154fe175a@mail.gmail.com> (Andy Koppe's message of "Tue, 26 Jan 2010 18:28:53 +0000")
Message-ID: <s1ssk9s10ra.fsf@jaist.ac.jp>
User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3.50 (usg-unix-v)
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019