Subject: Re: cygwin started speaking German today
From: Andy Koppe <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Thu, 8 Sep 2011 13:51:09 +0100
List-Id: <cygwin.cygwin.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