1 |
On Friday 06 October 2006 13:29, Liviu Andronic wrote: |
2 |
> I have a slight problem with defining a en_US.UTF-8 locale. I tried the |
3 |
> Gentoo Official Documentation on Localization and Syste-wide |
4 |
> UTF-8, but I cannot make actually having en_US.UTF-8. Here are some |
5 |
> commands I ran: |
6 |
> |
7 |
> The locales I have (nothing changes even after I run the rest of the |
8 |
> commands. |
9 |
> localhost ~ # locale -a |
10 |
> C |
11 |
> en_US.utf8 |
12 |
> POSIX |
13 |
> |
14 |
> localhost ~ # localedef -i en_US -f UTF-8 en_US.UTF-8 |
15 |
|
16 |
localedef is not necessary. Use locale-gen instead. |
17 |
|
18 |
> localhost ~ # locale-gen |
19 |
> * Generating 1 locales (this might take a while) |
20 |
> * (1/1) Generating en_US.UTF-8 ... [ ok ] * Generation complete |
21 |
|
22 |
Which you did - with success. |
23 |
|
24 |
> localhost ~ # locale -a |
25 |
> C |
26 |
> en_US.utf8 |
27 |
> POSIX |
28 |
> localhost ~ # env | grep -i LC_ |
29 |
> LC_ALL=en_US.UTF-8 |
30 |
|
31 |
And your current locale obviously is en_US.UTF-8. So... congrats... everything |
32 |
is fine. :) |
33 |
|
34 |
-- |
35 |
Bo Andresen |