View previous topic :: View next topic |
Author |
Message |
shredder n00b
Joined: 22 Nov 2004 Posts: 47
|
Posted: Fri Apr 10, 2009 9:27 am Post subject: Problem with localization |
|
|
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 |
|
|
stan666 Apprentice
Joined: 25 Jun 2007 Posts: 165 Location: Germany
|
Posted: Tue May 05, 2009 3:54 pm Post subject: |
|
|
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
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 |
|
|
|