delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/10/05/14:24:15

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_NEUTRAL
X-Spam-Check-By: sourceware.org
Message-ID: <4E8CA0AF.50805@cornell.edu>
Date: Wed, 05 Oct 2011 14:23:43 -0400
From: Ken Brown <kbrown AT cornell DOT edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: cygwin started speaking German today
References: <4E69D9EA DOT 2050004 AT cwilson DOT fastmail DOT fm> <CAHWeT-bQ=Qm7qyWzb9s-=Lfgwjh-vHrEk2BvYQS6X6707+EWMg AT mail DOT gmail DOT com> <20110909145921 DOT GA27289 AT calimero DOT vinschen DOT de> <4E6F7AA1 DOT 4090808 AT redhat DOT com> <20111004122837 DOT GA27229 AT calimero DOT vinschen DOT de> <4E8B0007 DOT 5020500 AT cwilson DOT fastmail DOT fm> <20111004142920 DOT GA15757 AT calimero DOT vinschen DOT de> <4E8B4A86 DOT 5000607 AT xs4all DOT nl> <20111004182042 DOT GA22299 AT calimero DOT vinschen DOT de> <4E8C7FFB DOT 6060707 AT xs4all DOT nl> <20111005162714 DOT GA14661 AT calimero DOT vinschen DOT de> <4E8C948D DOT 4070707 AT cwilson DOT fastmail DOT fm>
In-Reply-To: <4E8C948D.4070707@cwilson.fastmail.fm>
X-IsSubscribed: yes
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

On 10/5/2011 1:31 PM, Charles Wilson wrote:
> On 10/5/2011 12:27 PM, Corinna Vinschen wrote:
>> On Oct  5 18:04, Erwin Waterlander wrote:
>>> Op 4-10-2011 20:20, Corinna Vinschen schreef:
>>>> On Oct  4 20:03, Erwin Waterlander wrote:
>>>>> By the way, I noticed that with the default locale C.UTF-8 the
>>>>> nl_langinfo(CODESET) C function<langinfo.h>   returns wrongly
>>>>> "ISO-8859-1",
>>>> Not for me:
>>>> [...]
>>>
>>> My program (wcd) uses gettext/libintl. Libintl is causing the
>>> effect. Libintl is not working properly with a locale C.UTF-8. That
>>> is a serious problem.
>>
>> That's a bug in libintl8 0.18.1.1-1.  It does not happen with the
>> previous version 0.17-11.  Hopefully this gets fixed ASAP.

[...]

> The other is the issue that spawned this thread, which raised questions
> about how basefiles::/etc/profile.d/lang.{sh,csh} should behave, and
> other related complexities.  IIRC we reached an impasse with this
> subthread (and replies):
> http://cygwin.com/ml/cygwin/2011-09/msg00063.html
>
> See also the various messages in this thread, during the last day or two.
>
> So...I'm rather stuck.  I can't fix anything if we don't have a plan for
> what the desired behavior IS.  Right now, we all (except for Bruno!)
> agree that $current_behavior is bad.  But how exactly to fix it -- and
> whether to do so in opposition to Bruno, the actual libintl maintainer
> -- is still an open question.

I think you're mixing two questions that should be kept separate.  The 
first is how /etc/profile.d/lang.{sh,csh} should set LANG.  That's a 
question that the Cygwin developers and/or base-files maintainer need to 
decide.  The second is whether libintl should override Cygwin's locale 
settings.  Isn't the answer clearly no?  Why can't this be fixed (in 
opposition to Bruno, if necessary) before a final decision is made about 
/etc/profile.d/lang.{sh,csh}?

I don't recall any complaints from Cygwin users about C.UTF-8 being the 
default, but there have already been several complaints about the new 
behavior of libintl.

Ken

--
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

- Raw text -


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