You are not logged in.
Pages: 1
Hello... i set up my box from scratch these days, as i was forced to install windows in addition.
Now i cant get my Umlaute to work anymore. Maybe someone has a clue.
I like to have english and german system (english for me and german for my wife).
thats why i uncommented german and english locales in /etc/locale.gen:
de_DE.UTF-8 UTF-8
de_DE ISO-8859-1
de_DE@euro ISO-8859-15
en_GB.UTF-8 UTF-8
en_GB ISO-8859-1
en_GB.ISO-8859-15 ISO-8859-15
of course i ran locale-gen as root afterwards.
locale -a lists the locales just fine:
carnager@freebox $ locale -a
C
POSIX
de_DE
de_DE.iso88591
de_DE.iso885915@euro
de_DE.utf8
de_DE@euro
deutsch
en_GB
en_GB.iso88591
en_GB.iso885915
en_GB.utf8
german
also my rc.conf looks fine:
LOCALE="de_DE.utf8"
HARDWARECLOCK="localtime"
TIMEZONE="Europe/Berlin"
KEYMAP="de-latin1-nodeadkeys"
CONSOLEFONT="lat9w-16"
CONSOLEMAP=
USECOLOR="yes"
but still, when running locale without arguments, i just get this:
carnager@freebox $ locale
LANG=de_DE.utf8
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
and typing in a terminal (or tty*) shows: Umlaute dont work as they should....
any clue what i have done wrong?
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline
Do you mean by "work as they should" e.g. that "r-alt + u" should give "ü"? In addition to that we are speaking about console not x?
How about leaving "KEYMAP" variable empty? Some fonts have proper mapping for utf-8 included.
As for "LC_*" series of variables. Maybe these variables are set somewhere in your initialization scripts? I would check somwhere in "/etc/profile*", "/etc/profile.d/" or your home directory in ".bashrc", ".profile" or something like that.
If you need different locales for yourself and for your wife then it would be wise to set locale in per user initialisation scripts.
If the above don't help, we'll try something harder .
PS. I don't think that you'll need so many locales since you're about to use only two of them. If you plan to stay with utf-8 locales then maybe leave only "en_GB" and "de_DE"—other locales would only use a disk space.
It's not the best thing when they call you a "member" you know…
Offline
add
export LC_ALL=de_DE.utf8
to your .bashrc, or edit the line if you already export it.
If you want to check if this solves your problem before editing your configuration,
$ LC_ALL=de_DE.utf8 bash
Offline
Pages: 1