delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/09/08/06:55:33

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
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
Message-ID: <7856072A9D04C24B82DFE2B1112FE38A0C2AFF982B@MCHP058A.global-ad.net>
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>
In-Reply-To: <201109081246.23238.bruno@clisp.org>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id p88AtUYO027782

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019