From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26462 invoked by alias); 4 Oct 2011 12:29:21 -0000 Received: (qmail 26403 invoked by uid 22791); 4 Oct 2011 12:28:57 -0000 X-Spam-Check-By: sourceware.org Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.83/v0.83-20-g38e4449) with ESMTP; Tue, 04 Oct 2011 12:28:41 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 95A162C00DB; Tue, 4 Oct 2011 14:28:37 +0200 (CEST) Date: Tue, 04 Oct 2011 12:29:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: cygwin started speaking German today Message-ID: <20111004122837.GA27229@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <7856072A9D04C24B82DFE2B1112FE38A0C27492B56@MCHP058A.global-ad.net> <201109081246.23238.bruno@clisp.org> <4E68AF35.9030002@cwilson.fastmail.fm> <201109082344.55506.bruno@clisp.org> <4E69D9EA.2050004@cwilson.fastmail.fm> <20110909145921.GA27289@calimero.vinschen.de> <4E6F7AA1.4090808@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4E6F7AA1.4090808@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) 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-10/txt/msg00039.txt.bz2 On Sep 13 09:45, Eric Blake wrote: > On 09/09/2011 08:59 AM, Corinna Vinschen wrote: > >On Sep 9 13:33, Andy Koppe wrote: > >>The 'C.UTF-8' default locale is not a bug, it was a deliberate design decision. > > > >Exactly. And it has been discussed a lot on the cygwin-apps mailing > >list. > > > >And above all, there *is* an official way for the user to align the > >Cygwin locale with the Windows locale, see the -s and -u options > >of the locale(1) command: > > > > http://cygwin.com/cygwin-ug-net/using-utils.html#locale > > On 09/09/2011 09:09 AM, Corinna Vinschen wrote: > >> OK, then the following four facilities are needed in Cygwin. > >> > >> 1) We need the name of the locale which is in effect when the user has > >> not specified environment variables. > > > > In Fedora, for instance, the fallback is what is set as system default > > in /etc/sysconfig/i18n. > > > > In Cygwin the fallback is the system default set in > /etc/profile.d/lang.sh > > or /etc/profile.d/lang.csh. > > > > Why should libintl use anything else on Cygwin, but not on Linux? > > > > Given this, I think the bug is in cygwin for having base files > /etc/profile.d/lang.{sh,csh} which hardcode LANG to C.UTF-8 instead > of using locale -s -u to default LANG to the preferred Windows > settings. Bug? Didn't we choose C.UTF-8 after a long discussion? Are the points raised in this discussion invalid or outdated now? Why? I don't object against using `locale -sU' in lang.sh/lang.csh, but we should not do this without a discussion of the pros and cons. > Libintl should NOT be second-guessing an explicit setting > of LANG, ACK. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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