Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with localization
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
shredder
n00b
n00b


Joined: 22 Nov 2004
Posts: 47

PostPosted: Fri Apr 10, 2009 9:27 am    Post subject: Problem with localization Reply with quote

Hi,

I have tried to follow the Gentoo Localization guide and some other resources i've found. What i want to achieve is to have my system to "speak" english, which should be the default. But i want to be able to type swedish characters and be able to see swedish characters both under Xfce and terminal/tty. I would be great to have the system using utf8 encoded character sets. At the moment my only problem seem to be that tty and terminal emulators does not show swedish characters.

Output from locale:
Code:
$ locale
LANG=en_US.utf8
LC_CTYPE=sv_SE.utf8
LC_NUMERIC="en_US.utf8"
LC_TIME="en_US.utf8"
LC_COLLATE="en_US.utf8"
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=


Other environment variables:
Code:
CONSOLEFONT="lat0-16"
KEYMAP="sv-latin1"
UNICODE="no"


I recently change unicode from yes to no. Do not know if the change is effective yet. Any clues about why swedish characters are not shown properly i terminal/tty? [/code]
Back to top
View user's profile Send private message
stan666
Apprentice
Apprentice


Joined: 25 Jun 2007
Posts: 165
Location: Germany

PostPosted: Tue May 05, 2009 3:54 pm    Post subject: Reply with quote

I'm not 100% sure, but I think it must be UTF-8 instead of utf8, ensure your /etc/locale.gen looks similiar to this
cat /etc/locale.gen
Code:
en_GB UTF-8
en_US UTF-8

and run
Code:

locale-gen

afterwards. Beside this you probably should enable unicode (set unicode="YES" in /etc/rc.conf)
_________________
BOFH Excuse #450:
Terrorists crashed an airplane into the server room, have to remove /bin/laden. (rm -rf /bin/laden)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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