X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Mon, 5 Dec 2011 13:26:20 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: [1.7.9] bash: warning: setlocale: LC_COLLATE: cannot change locale (FR) Message-ID: <20111205122620.GA7523@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 Dec 5 11:37, e.vacchi wrote: > Andy Koppe gmail.com> writes: > > > > I assume s/not/now/, but in any case it would still be helpful if you > > could confirm that the LANG=FR setting did come from the Windows > > environment, e.g. using the 'set' command in a Command Prompt. Even > > better if you had an idea where the setting came from, in case others > > stumble across this in future. > > Windows does set LANG= to your locale; in my case %LANG% is IT Windows does not set $LANG by default, nor does it set it when you change your regional options. There must be some specific software component which thought it a good idea to set LANG. Either way, neither "FR" nor "IT" are POSIX compatible locale settings. You can workaround the issue by either unsetting LANG before calling bash, setting it to a POSIX compatible value, or by utilizing the /usr/share/locale/locale.alias file. Just add a line like this to locale.alias: IT it_IT.utf8 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