You are not logged in.

#1 2012-09-02 18:46:24

cro
Member
From: Germany
Registered: 2006-01-02
Posts: 101

locale not working

# cat /etc/locale.conf

LOCALE="en_US.UTF-8"

# locale

LANG=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=

# locale -a

C
POSIX
de_DE
de_DE.iso88591
de_DE.iso885915@euro
de_DE.utf8
de_DE@euro
deutsch
en_US
en_US.iso88591
en_US.utf8
german

# locale en_US.utf8

locale: unknown name "en_US.utf8"

# locale en_US.UTF-8

locale: unknown name "en_US.UTF-8"


WTF!?


--
EDIT:
One of the problems caused by this is that programs can't access files with utf8 encoded names (for example using "ä"). Crazy thing is that bash completion reads and shows UTF8 symbols correctly but "ls" doesn't. The files are on a NTFS filesystem accessed through ntfs-3g. It was working until yesterday.

Last edited by cro (2012-09-02 18:54:22)

Offline

#2 2012-09-02 19:39:27

cro
Member
From: Germany
Registered: 2006-01-02
Posts: 101

Re: locale not working

Uff, I got it working again.
I guess checking /etc/locale.gen, rebuilding the locales and a reboot did the trick.

Offline

#3 2012-09-02 20:25:46

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: locale not working

Please remember to mark the thread as solved.

Offline

Board footer

Powered by FluxBB