Dirk Heinrichs <[EMAIL PROTECTED]> wrote:
>> [EMAIL PROTECTED] ~ $ locale
>> LANG=en_DK.UTF-8
>> [EMAIL PROTECTED] ~ $ locale -a
>> en_DK.utf8
> 
> And you don't see the difference?

But...

przehyba ~ # cat /usr/share/i18n/SUPPORTED | grep en | grep DK
en_DK.UTF-8 UTF-8
en_DK ISO-8859-1
przehyba ~ #

So why 'locale -a' tells me that the available locale has "utf8" at the
end, while the file in /usr/share/i18n/ tells me its capital leters
"UTF-8"? And all documentation I can remember tells me to use ".UTF-8",
I've never in my life seen ".utf8" before, I use locales with ".UTF-8"
ending on Debian since ages, why here is this strange lowercase "utf8"
in one place, and how did it happen to get there?

http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1&chap=6
tells to use capital "UTF-8"

http://www.gentoo.org/doc/en/utf-8.xml
shows that 'locale -a' should output capital "UTF-8"

However I still don't know how to solve the problem, I changed the text
in /etc/env.d/02locale to "en_DK.utf8", then run
env-update && source /etc/profile
and rebooted the machine after that just to be sure, but that didn't fix
the problem - UTF-8 files don't work when 'cat', and starting an xterm
still shows "Warning: locale not supported by Xlib, locale set to C".
Only now "locale" command shows the lowercase version.

I did read the above URL's, and
http://www.gentoo.org/doc/en/guide-localization.xml
and I am out of ideas. What a mess... and I didn't ever before anywhere
enter ".utf8" ending in the locale while installing this system, nor in
my life, so it's not me who messed it up! I did how all the manuals
showed - uppercase .UTF-8

Is there any hope for me, or should I reinstall Gentoo from scratch,
to a blank disk, and pray that my locales will work after that? However
I'm sceptical that will produce any different result than I have,
because I'll probably do everything exactly as I did now.

-- 
Miernik
http://miernik.name/


Reply via email to