From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18489 invoked by alias); 8 Sep 2011 12:51:25 -0000 Received: (qmail 18477 invoked by uid 22791); 8 Sep 2011 12:51:23 -0000 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 Received: from mail-yi0-f43.google.com (HELO mail-yi0-f43.google.com) (209.85.218.43) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 08 Sep 2011 12:51:10 +0000 Received: by yia27 with SMTP id 27so724743yia.2 for ; Thu, 08 Sep 2011 05:51:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.5.138 with SMTP id s10mr992138pbs.238.1315486269220; Thu, 08 Sep 2011 05:51:09 -0700 (PDT) Received: by 10.68.64.70 with HTTP; Thu, 8 Sep 2011 05:51:09 -0700 (PDT) In-Reply-To: <4E68AF35.9030002@cwilson.fastmail.fm> References: <7856072A9D04C24B82DFE2B1112FE38A0C27492B56@MCHP058A.global-ad.net> <4E6828B0.4060807@cwilson.fastmail.fm> <201109081246.23238.bruno@clisp.org> <4E68AF35.9030002@cwilson.fastmail.fm> Date: Thu, 08 Sep 2011 12:51:00 -0000 Message-ID: Subject: Re: cygwin started speaking German today From: Andy Koppe To: cygwin@cygwin.com Cc: bug-gnu-gettext@gnu.org Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-09/txt/msg00060.txt.bz2 [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