Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
followed utf8 guide: problem with loadkeys at boot
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
urcindalo
l33t
l33t


Joined: 08 Feb 2005
Posts: 601
Location: Almeria, Spain

PostPosted: Thu Sep 29, 2005 5:43 pm    Post subject: Reply with quote

Thanks for the link, rofro. But it was my understanding that the kernel problems were already history.

It occured to me that maybe I had strange definitions in /etc/locales.build. After searching for documentation, I finally was able to solve the problem by reading this howto in getoo-wiki.

I followed the mini-guide to the letter, commenting out the locales I had included for the shake of completiness (since I had no idea of the correct format, I included all the combinations I thought were right), and including a few others I hadn't thought of before (or thought were not correctly spelled).

Then I re-emerged glibc, and finally a much cleaner /usr/lib/locale appeared.

To sum up, these are the contents of the new /etc/locales.build file (including some of the commented out entries I didn't remove just in case):
Code:
en_US/ISO-8859-1
en_US/UTF-8

en_IE/UTF-8
en_IE@euro/ISO-8859-15
en_IE@euro/UTF-8

es_ES/ISO-8859-1
es_ES@euro/ISO-8859-1
es_ES/ISO-8859-15
es_ES@euro/ISO-8859-15
es_ES/UTF-8
es_ES@euro/UTF-8

#es_ES.UTF-8/UTF-8
#es_ES@euro.UTF-8/UTF-8
#es_ES.UTF-8@euro

#en_IE@euro
#en_US
#en_US.utf8
#es_ES
#es_ES@euro
#es_ES@euro.UTF-8
#es_ES.utf8
#es_ES.utf8@euro
and /usr/lib/locale directory:
Code:
/usr/lib/locale $ ll
total 0
drwxr-xr-x  3 root root 408 sep 29 18:54 en_IE
drwxr-xr-x  3 root root 408 sep 29 18:54 en_IE@euro
drwxr-xr-x  3 root root 408 sep 29 18:54 en_US
drwxr-xr-x  3 root root 408 sep 29 18:54 es_ES
drwxr-xr-x  3 root root 408 sep 29 18:54 es_ES@euro


Finally, I set /etc/env.d/02locale this way:
Code:
$ cat /etc/env.d/02locale
LINGUAS="en es"
LANG=es_ES.UTF-8
LC_ALL=es_ES.UTF-8
LC_MONETARY=es_ES.UTF-8@euro
and this is the result of a "locale" command:
Code:
$ locale
LANG=es_ES.UTF-8
LC_CTYPE="es_ES.UTF-8"
LC_NUMERIC="es_ES.UTF-8"
LC_TIME="es_ES.UTF-8"
LC_COLLATE="es_ES.UTF-8"
LC_MONETARY="es_ES.UTF-8"
LC_MESSAGES="es_ES.UTF-8"
LC_PAPER="es_ES.UTF-8"
LC_NAME="es_ES.UTF-8"
LC_ADDRESS="es_ES.UTF-8"
LC_TELEPHONE="es_ES.UTF-8"
LC_MEASUREMENT="es_ES.UTF-8"
LC_IDENTIFICATION="es_ES.UTF-8"
LC_ALL=es_ES.UTF-8


As you can see, LC_MONETARY is not set to es_ES.UTF-8@euro but to es_ES.UTF-8, but I don't give a damn :wink: , for the ¤ signs appears correctly when I press it.

Of course, all deadkyes work as expected in every program, including StarOffice. Besides, I had some accented characters in the names of some files in my Desktop, and they now appear as frames instead of showing the correct character, suggesting that finally the encoding has changed to UTF-8 from ISO-8859.

Am I correct this time, or am I missing something to complete the conversion to UTF-8?
Back to top
View user's profile Send private message
Ibn al-Hazardous
Tux's lil' helper
Tux's lil' helper


Joined: 02 Sep 2004
Posts: 133
Location: Somewhere deep in the desert.

PostPosted: Thu Sep 29, 2005 8:08 pm    Post subject: Reply with quote

This time - you can be pretty confident you got it right. :)
_________________
/Ibn
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
Goto page Previous  1, 2
Page 2 of 2

 
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