This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [1.7.9] bash: warning: setlocale: LC_COLLATE: cannot change locale (FR)


2011/4/3 FrÃdÃric Bron:
> 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)

Check the locale setting on the Text page of mintty's options dialog.

> The warning remains if .bashrc and .bash_profile are empty.
> For some reason, even if I do not set it, I have LANG=FR.
>
> I have also tried to add:
> export LANG="C.UTF-8"
> and/or
> export LC_ALL="C.UTF-8"
> in .bashrc but it does not change anything.

That's because setting the locale there is too late both for mintty
and for bash.

Andy

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]