Am Sonntag, 20. Juli 2008 schrieb Miernik: > Dirk Heinrichs wrote: > >> miernik@przehyba ~ $ locale > >> LANG=en_DK.UTF-8 > >> miernik@przehyba ~ $ 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? OK, you're right. A little bit of further reading (German Gentoo UTF8 Howto) revealed that they should both be equivalent. > UTF-8 files don't work when 'cat' Are you sure these files are really utf8 files? What does the "file" command tell you about those files. Maybe you need to run iconv on them, first. > , and starting an xterm > still shows "Warning: locale not supported by Xlib, locale set to C". > Only now "locale" command shows the lowercase version. This is a different thing, look at http://bugs.gentoo.org/show_bug.cgi?id=90972 HTH... Dirk