Problems with locales in F18

"Jóhann B. Guðmundsson" johannbg at gmail.com
Fri Nov 9 17:04:21 UTC 2012


On 11/09/2012 04:49 PM, Joachim Backes wrote:
> Hi,
>
> if logging in on some tty, I always get the warnings:
>
> -bash: warning: setlocale: LC_CTYPE: cannot change locale (en.UTF-8): No
> such file or directory
> -bash: warning: setlocale: LC_COLLATE: cannot change locale (en.UTF-8):
> No such file or directory
> -bash: warning: setlocale: LC_MESSAGES: cannot change locale (en.UTF-8):
> No such file or directory
> -bash: warning: setlocale: LC_NUMERIC: cannot change locale (en.UTF-8):
> No such file or directory
> -bash: warning: setlocale: LC_TIME: cannot change locale (en.UTF-8): No
> such file or directory
>
> How to get rid from this warning? I don't set any LC_... vars.
>
> The locale command outputs:
>
> locale
>
> LANG=en_US.utf8
> LC_CTYPE="en_US.utf8"
> LC_NUMERIC="en_US.utf8"
> LC_TIME="en_US.utf8"
> LC_COLLATE="en_US.utf8"
> LC_MONETARY="en_US.utf8"
> LC_MESSAGES="en_US.utf8"
> LC_PAPER="en_US.utf8"
> LC_NAME="en_US.utf8"
> LC_ADDRESS="en_US.utf8"
> LC_TELEPHONE="en_US.utf8"
> LC_MEASUREMENT="en_US.utf8"
> LC_IDENTIFICATION="en_US.utf8"
> LC_ALL=en_US.utf8
>
> Kind regards
>

You must be exporting it somewhere check .bash_profile etc for 
"en.UTF-8" ( which probably is supposed to be "en_US.utf8" )

JBG


More information about the test mailing list