delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/04/03/03:29:03

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.4 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
From: =?ISO-8859-1?Q?Fr=E9d=E9ric_Bron?= <frederic DOT bron AT m4x DOT org>
Date: Sun, 3 Apr 2011 06:49:46 +0200
Message-ID: <BANLkTikDGagEMZpPm8D6EXu55s8uDKrKnA@mail.gmail.com>
Subject: [1.7.9] bash: warning: setlocale: LC_COLLATE: cannot change locale (FR)
To: cygwin <cygwin AT cygwin DOT com>
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

I have just upgraded to 1.7.9:
$ uname
CYGWIN_NT-5.1 VOR-CRV-01660 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin

I now get this message when starting mintty ("C:\cygwin-1.7\bin\mintty.exe =
-"):
-bash: warning: setlocale: LC_COLLATE: cannot change locale (FR)

The warning remains if .bashrc and .bash_profile are empty.
For some reason, even if I do not set it, I have LANG=3DFR.

I have also tried to add:
export LANG=3D"C.UTF-8"
and/or
export LC_ALL=3D"C.UTF-8"
in .bashrc but it does not change anything.

This worked fine with 1.7.8 with export LC_ALL=3D"C.UTF-8" in .bashrc.

Thanks,

Fr=E9d=E9ric

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