delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
In-Reply-To: | <4E68AF35.9030002@cwilson.fastmail.fm> |
References: | <7856072A9D04C24B82DFE2B1112FE38A0C27492B56 AT MCHP058A DOT global-ad DOT net> <4E6828B0 DOT 4060807 AT cwilson DOT fastmail DOT fm> <201109081246 DOT 23238 DOT bruno AT clisp DOT org> <4E68AF35 DOT 9030002 AT cwilson DOT fastmail DOT fm> |
Date: | Thu, 8 Sep 2011 13:51:09 +0100 |
Message-ID: | <CAHWeT-YgiBWqQa=Tyv1avW6wus48r8Mkv3uimB9VfgTFEFxPEg@mail.gmail.com> |
Subject: | Re: cygwin started speaking German today |
From: | Andy Koppe <andy DOT koppe AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
Cc: | bug-gnu-gettext AT gnu DOT org |
X-IsSubscribed: | yes |
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 |
[Resend with missing cc to gettext list.] On 8 September 2011 13:04, Charles Wilson wrote: > On 9/8/2011 6:46 AM, Bruno Haible wrote: >> There is nothing to "fix". Users who don't want internationalization system-wide >> can set their locale in the "Regional Settings" control panel to English. >> Users who want to have a German Windows but a non-internationalized Cygwin can >> set LANG=C or LC_ALL=C - exactly like POSIX specifies. > > But setting LANG=C.UTF-8 (and not setting any of the LC_* vars at all) > should have the same behavior as setting LC_ALL=C.UTF-8. > > It does not -- and THAT's the bug. I agree. Further to that, however, Cygwin developers decided that the system default locale in case neither the relevant LC_* nor LANG are set should also be "C.UTF-8". That's what setlocale(LC_BLA, "") returns in that case. It's rather dubious behaviour of libintl to override that. Cygwin isn't Windows; it's a POSIX environment on top of Windows. Taking the Regional Settings control panel into account might well make sense, but it ought to be left to the Cygwin developers to decide on this and implement it centrally. Andy -- 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 |