Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
localization, utf-8, umlauts, CONFUSION!!!
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
kEiNsTeiN
Guru
Guru


Joined: 29 Apr 2005
Posts: 361
Location: Germany

PostPosted: Sun Dec 10, 2006 9:59 pm    Post subject: localization, utf-8, umlauts, CONFUSION!!! Reply with quote

hi! After reading about 15 how-tos about UTF-8, I need some help.

First: I have a german keyboard, and want to be able to use the german special keys (umlauts). Right now, with my very broken config, I'm not able to (I get ö,À,Ì).
But: I don't want the everything to be German, but English instead. Right now, "man" and a few other programs are German, the rest is English (?).

my config:

/etc/env.d/02locale
Code:
LANG="de_DE.UTF-8@euro"
LC_MESSAGES="en_US.UTF-8"


(I removed LC_ALL, as it would overwrite LC_MESSAGES, but as this didn't make "man" english again, I kinda gave up...)

/etc/locale.gen
Code:
en_US ISO-8859-1
en_US.UTF-8 UTF-8
de_DE ISO-8859-1
de_DE@euro ISO-8859-15
de_DE.UTF-8@euro UTF-8
de_DE.UTF-8 UTF-8


/etc/X11/xorg.conf
Code:
    Option "XkbRules"   "xorg"
    Option "XkbModel"   "pc105"
    Option "XkbLayout"  "de"


weirdly, I can use umlauts in a normal, non-X console....

wtf??? help!!!
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2977
Location: Germany

PostPosted: Sun Dec 10, 2006 10:52 pm    Post subject: Reply with quote

I'm using en_US.UTF-8 for everything... by far not an optimal solution (date format etc) but mixing locale is even worse for me.

So obviously everything on my system is in English, but you can still use German keyboard layout, Umlauts, and everything else that requires UTF-8 support (for example support for CJK in various applications).

The main problem with your locale seems to be that de_DE.UTF-8@euro makes no sense whatsoever. euro is not UTF-8, but an extended ISO8859-1 charset that had the € character added. This locale either does not exist at all or is some messed up creation of yours.

As for your xorg.conf, you may want to add 'Option "XkbVariant" "nodeadkeys"'.

Other than that, it seems fine. Make sure you also got UTF-8 fonts (both in Console and in your X font paths / X Font Server configuration file), also check your /etc/conf.d/ directory for charset / unicode settings and enable them accordingly.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum