You are not logged in.
Pages: 1
I changed my locale from german to us english and now the umlauts don't work. My problem is that I used one of these in my password, so i can't use sudo anymore.
(Afterwards using this in a password was not a clever idea, but now it is too late)
locale
LANG=de_DE
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=C
localectl
System Locale: LANG=de_DE.UTF-8
LC_COLLATE=C
VC Keymap: de-latin1-nodeadkeys
X11 Layout: n/a
if you need more output just aks.
nerfingen
Offline
Change the locale to something with utf. C doesn't do Unicode.
I changed my locale from german to us english
The 'C' locale is not the same as e.g. en_US.UTF-8.
Last edited by karol (2014-01-28 17:25:12)
Offline
Ok I think i should post my /etc/locale.gen and /etc/locale.conf
/etc/locale.conf
LANG=de_DE.UTF-8
LC_COLLATE=C
/etc/locale.gen (incomplete)
...
#de_DE.UTF-8 UTF-8
#de_DE ISO-8859-1
#de_DE@euro ISO-8859-15
...
en_US.UTF-8 UTF-8
en_US ISO-8859-1
....
every other locale is commented like the german one.
and afterwards i called locale-gen
and then I end up in this trouble
Offline
Post the output of 'locale' and 'locale -a'.
Don't set 'LC_ALL=C', you can leave it empty.
Offline
locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE=C
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=
locale -a
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
C
POSIX
en_US
en_US.iso88591
en_US.utf8
Offline
Look, you have to decide whether you use German or English. 'locale -a' says you uncommented only English, but 'locale' says you've set your locale to use German.
Offline
Ok then I've two questions. How did I end up there?
And more Important how did i get it running again?
Offline
In your first post most of the 'locale' output said 'C', now it says 'de_DE.UTF-8' - you've told your system you want to use German.
Does localectl still say you've set it to use German? Why not change it to English then? Read the wiki if you got confused somewhere or skipped a step when changing the locale.
Offline
I don't now exactly why or how but I get it running again by some strange copy past things to get the umlauts
to the sudo password prompt and fixed it with localectl. I still don't know exactly what was going wrong here.
But now it works again. If someone knows what exactly was going wrong here please tell me.
But thanks for the great and fast help.
nerfingen
Offline
Did you edit /etc/locale.conf to set it to English?
Offline
Pages: 1