X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <20090929121203.GA19012@calimero.vinschen.de> References: <3f0ad08d0909240003j435818e7h6f7cde2e26188f7e AT mail DOT gmail DOT com> <3f0ad08d0909240237s518de248jee409b731711404a AT mail DOT gmail DOT com> <20090924095701 DOT GC30851 AT calimero DOT vinschen DOT de> <20090924100006 DOT GD30851 AT calimero DOT vinschen DOT de> <20090926091504 DOT GA7275 AT calimero DOT vinschen DOT de> <3f0ad08d0909262021u5fe79873r65850865166ce40f AT mail DOT gmail DOT com> <3f0ad08d0909280903t5caaf611ie4049a73beb93f06 AT mail DOT gmail DOT com> <20090928161626 DOT GC8378 AT calimero DOT vinschen DOT de> <4AC1EA0F DOT 5040603 AT towo DOT net> <20090929121203 DOT GA19012 AT calimero DOT vinschen DOT de> Date: Tue, 29 Sep 2009 23:30:27 +0900 Message-ID: <3f0ad08d0909290730q770db65dsfe3253bc714446a9@mail.gmail.com> Subject: Re: The C locale From: IWAMURO Motonori To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 2009/9/29 Corinna Vinschen : > 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 -- 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