1 |
Florian v. Savigny wrote: |
2 |
> > locale |
3 |
> > should shown it to you |
4 |
> |
5 |
> Thanks. $LANG and $LC_ALL are not set (i.e. locale simply shows |
6 |
> "LANG=" and "LC_ALL=" with no values). All other LC_... variables are |
7 |
> set to "POSIX". |
8 |
|
9 |
I don't think that will work. Here, locale says: |
10 |
|
11 |
LANG=en_US.UTF-8 |
12 |
LC_CTYPE="en_US.UTF-8" |
13 |
LC_NUMERIC="en_US.UTF-8" |
14 |
LC_TIME="en_US.UTF-8" |
15 |
LC_COLLATE="en_US.UTF-8" |
16 |
LC_MONETARY="en_US.UTF-8" |
17 |
LC_MESSAGES="en_US.UTF-8" |
18 |
LC_PAPER="en_US.UTF-8" |
19 |
LC_NAME="en_US.UTF-8" |
20 |
LC_ADDRESS="en_US.UTF-8" |
21 |
LC_TELEPHONE="en_US.UTF-8" |
22 |
LC_MEASUREMENT="en_US.UTF-8" |
23 |
LC_IDENTIFICATION="en_US.UTF-8" |
24 |
LC_ALL=en_US.UTF-8 |
25 |
|
26 |
So I suppose you need something like "de_DE.ISO-8859-15@euro". You need |
27 |
only set LANG and and LC_ALL. The rest is derived automatically from |
28 |
those two. |
29 |
|
30 |
To do this, edit the file /etc/env.d/02locale. There should be only two |
31 |
lines in it: |
32 |
|
33 |
LC_ALL="de_DE.ISO-8859-15@euro" |
34 |
LANG="de_DE.ISO-8859-15@euro" |
35 |
|
36 |
Substitute "ISO-8859-15" with whatever you're using. After editing, run |
37 |
"env-update" as root. Reboot (just to make sure) and try again. |
38 |
|
39 |
I really recommend UTF-8 though: |
40 |
|
41 |
LC_ALL="en_US.UTF-8" |
42 |
LANG="en_US.UTF-8" |