This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: cygwin started speaking German today
- From: "Voelker, Bernhard" <bernhard dot voelker at siemens-enterprise dot com>
- To: Bruno Haible <bruno at clisp dot org>, Charles Wilson <cygwin at cwilson dot fastmail dot fm>
- Cc: "cygwin at cygwin dot com" <cygwin at cygwin dot com>, "bug-gnu-gettext at gnu dot org" <bug-gnu-gettext at gnu dot org>
- Date: Thu, 8 Sep 2011 12:55:21 +0200
- Subject: RE: cygwin started speaking German today
- References: <7856072A9D04C24B82DFE2B1112FE38A0C27492B56@MCHP058A.global-ad.net> <4E6828B0.4060807@cwilson.fastmail.fm> <201109081246.23238.bruno@clisp.org>
Bruno Haible wrote:
> > Bernhard Voelker wrote:
> > > Starting with today's update, cygwin started speaking German:
> > >
> > > $ mkdir -v x0
> > > mkdir: Verzeichnis ÃâÅx0ÃâÅ angelegt
> > > $ LANG=C mkdir -v x2
> > > mkdir: created directory `x2'
> > > $ LANG=C.UTF-8 mkdir -v x1
> > > mkdir: Verzeichnis ÃâÅx1ÃâÅ angelegt
> > >
> > > Default is LANG=C.UTF-8 here.
> > >
> > > Ok, the PC is in Germany, but none of my environment
> > > variables have a 'de' inside.
>
> This is as it should be. See the NEWS entry from the gettext package:
>
> * Runtime behaviour:
> - On MacOS X and Windows systems, <libintl.h> now extends setlocale() and
> newlocale() so that their determination of the default locale considers
> the choice the user has made in the system control panels.
>
> 'mkdir' is a GNU coreutils programs, which uses <libintl.h>, so it gets
> the benefit of libintl enhancements.
>
> After Cygwin 1.7 added working locales and defined LANG=C.UTF-8 for all users,
> libintl could be extended to respect the choices the user has made in the
> system control panels.
>
> ...
I had read the NEWS but wasn't aware that the behaviour in Cygwin would
change for my system with this update.
Thanks for this comprehensive explanation!
Have a nice day,
Berny