This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: cygwin started speaking German today


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]