locale UTF-8 vs. utf8

Marco marco.mandl at gmx.at
Mon Sep 18 12:34:14 BST 2006


Hello,

I still have problems with my locale settings. KDE application don't know
umlauts.

During my investigations and trials I noticed that there is an inconsistency
in the naming: UTF-8 vs. utf8

In all config files I have UTF-8 but the generated locale files are named
utf8.

$ locale
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=C
LANGUAGE=de_DE:de:en_GB:en
LC_CTYPE="de_AT.UTF-8"
LC_NUMERIC="de_AT.UTF-8"
LC_TIME="de_AT.UTF-8"
LC_COLLATE="de_AT.UTF-8"
LC_MONETARY="de_AT.UTF-8"
LC_MESSAGES="de_AT.UTF-8"
LC_PAPER="de_AT.UTF-8"
LC_NAME="de_AT.UTF-8"
LC_ADDRESS="de_AT.UTF-8"
LC_TELEPHONE="de_AT.UTF-8"
LC_MEASUREMENT="de_AT.UTF-8"
LC_IDENTIFICATION="de_AT.UTF-8"
LC_ALL=de_AT.UTF-8

$ locale -a
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
POSIX
de_AT
de_AT.utf8
de_AT at euro
en_US
en_US.utf8

$ l /usr/lib/locale/
total 20
drwxr-xr-x 3 root root 4096 Sep 18 12:58 de_AT
drwxr-xr-x 3 root root 4096 Sep 18 12:58 de_AT.utf8
drwxr-xr-x 3 root root 4096 Sep 18 12:59 de_AT at euro
drwxr-xr-x 3 root root 4096 Sep 18 12:59 en_US
drwxr-xr-x 3 root root 4096 Sep 18 12:59 en_US.utf8

$ sudo locale-gen
Password:
Generating locales...
  de_AT.ISO-8859-1... done
  de_AT.UTF-8... done
  de_AT.ISO-8859-15 at euro... done
  en_US.ISO-8859-1... done
  en_US.UTF-8... done
Generation complete.

$ cat /var/lib/locales/supported.d/local
de_AT.UTF-8 UTF-8
de_AT ISO-8859-1
de_AT at euro ISO-8859-15
en_US.UTF-8 UTF-8
en_US ISO-8859-1

I tested to rename /usr/lib/locale/de_AT.utf8 to de_AT.UTF-8 but that did
not change anything.

Any help is very appreciated.

Regards,
Marco





More information about the kubuntu-users mailing list