X-Recipient: archive-cygwin@delorie.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: <416096c60909211420g4ac8ea93l80fc1f00dcd5c0f3@mail.gmail.com> References: <416096c60908300959i1e0084b1xc8f6e65e792b035d@mail.gmail.com> <20090831005258.GG2068@ednor.casa.cgf.cx> <416096c60909012329l2f25e735yc07145b8d6698cda@mail.gmail.com> <3f0ad08d0909020656v7d9fce6ft4afea63ed363b9a9@mail.gmail.com> <416096c60909071308qc5ff057sbe9cb1dbc270554f@mail.gmail.com> <20090908193456.GC17515@calimero.vinschen.de> <416096c60909081449r1fe024dbm7b82a3719be05e9e@mail.gmail.com> <20090921103758.GE20981@calimero.vinschen.de> <416096c60909211420g4ac8ea93l80fc1f00dcd5c0f3@mail.gmail.com> Date: Thu, 24 Sep 2009 16:03:02 +0900 Message-ID: <3f0ad08d0909240003j435818e7h6f7cde2e26188f7e@mail.gmail.com> Subject: Re: The C locale From: IWAMURO Motonori To: cygwin@cygwin.com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com 2009/9/22 Andy Koppe : > Let's use the Windows "ANSI" codepage as the character set for the C > locale, for both the conversion functions and filenames. This means > CP1252 on Western systems, CP1251 on Cyrillic ones, CP932 on Japanese > ones, and so on. I oppose the approach (the ANSI codepage is used at C locale) because CP932 (the codepage for Japanese) is hostile to the UNIX-like tools. The reason is that the CP932 format contains a lot of meta characters as follows. single character of CP932: /[\x00-\x7F\xA0-\xDF]|[\x81-\x9F\xE0-\xFC][\x40-\x7E\x80-\xFC]/ This has a ruined influence to the tools that don't see locale. -- 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