1 |
Am Sonntag, 20. Juli 2008 schrieb Miernik: |
2 |
> Dirk Heinrichs <dirk.heinrichs@××××××.de> wrote: |
3 |
> >> miernik@przehyba ~ $ locale |
4 |
> >> LANG=en_DK.UTF-8 |
5 |
> >> miernik@przehyba ~ $ locale -a |
6 |
> >> en_DK.utf8 |
7 |
> > |
8 |
> > And you don't see the difference? |
9 |
> |
10 |
> But... |
11 |
> |
12 |
> przehyba ~ # cat /usr/share/i18n/SUPPORTED | grep en | grep DK |
13 |
> en_DK.UTF-8 UTF-8 |
14 |
> en_DK ISO-8859-1 |
15 |
> przehyba ~ # |
16 |
> |
17 |
> So why 'locale -a' tells me that the available locale has "utf8" at the |
18 |
> end, while the file in /usr/share/i18n/ tells me its capital leters |
19 |
> "UTF-8"? And all documentation I can remember tells me to use ".UTF-8", |
20 |
> I've never in my life seen ".utf8" before, I use locales with ".UTF-8" |
21 |
> ending on Debian since ages, why here is this strange lowercase "utf8" |
22 |
> in one place, and how did it happen to get there? |
23 |
|
24 |
OK, you're right. A little bit of further reading (German Gentoo UTF8 Howto) |
25 |
revealed that they should both be equivalent. |
26 |
|
27 |
> UTF-8 files don't work when 'cat' |
28 |
|
29 |
Are you sure these files are really utf8 files? What does the "file" command |
30 |
tell you about those files. Maybe you need to run iconv on them, first. |
31 |
|
32 |
> , and starting an xterm |
33 |
> still shows "Warning: locale not supported by Xlib, locale set to C". |
34 |
> Only now "locale" command shows the lowercase version. |
35 |
|
36 |
This is a different thing, look at |
37 |
http://bugs.gentoo.org/show_bug.cgi?id=90972 |
38 |
|
39 |
HTH... |
40 |
|
41 |
Dirk |