1 |
On Thursday 29 May 2008, Kevin O'Gorman wrote: |
2 |
> On Thu, May 29, 2008 at 2:29 PM, Mick <michaelkintzios@×××××.com> wrote: |
3 |
> > On Thursday 29 May 2008, Kevin O'Gorman wrote: |
4 |
> > > When I crank up K3b, it complains about my setup, with the message |
5 |
> > > |
6 |
> > > "System locale charset is ANSI_X3.4-1968 |
7 |
> > > Your system's locale charset (i.e. the charset used to encode |
8 |
> > > filenames) is set to ANSI_X3.4-1968. It is highly unlikely that this |
9 |
> > > has been done intentionally. |
10 |
> > > Most likely the locale is not set at all. An invalid setting |
11 |
> > > will result in problems when creating data projects. |
12 |
> > > Solution: To properly set the locale charset make sure the LC_* |
13 |
> > > environment variables are set. Normally the distribution setup tools |
14 |
> > > take care of this." |
15 |
> > > |
16 |
> > > It is correct that this is not intentional (it does seem antique). I |
17 |
> > |
18 |
> > have |
19 |
> > |
20 |
> > > configured .mybashrc to set my LANG to "en_US", but nothing beyond |
21 |
> > > that. What "distribution setup tools" is it referring to, so that I can |
22 |
> > > correct this on gentoo? |
23 |
> > |
24 |
> > What have you set up in your /etc/locale.gen ? |
25 |
> |
26 |
> I won't take credit for setting this up, because I don't think I did. On |
27 |
> the other hand, |
28 |
> I've had occasion to internationalize a web page to dutch and polish, which |
29 |
> appear |
30 |
> in the list. So I dunno where it came from. |
31 |
> |
32 |
> But here's what's there: |
33 |
> |
34 |
> # /etc/locale.gen: list all of the locales you want to have on your system |
35 |
> # |
36 |
> # The format of each line: |
37 |
> # <locale> <charmap> |
38 |
> # |
39 |
> # Where <locale> is a locale located in /usr/share/i18n/locales/ and |
40 |
> # where <charmap> is a charmap located in /usr/share/i18n/charmaps/. |
41 |
> # |
42 |
> # All blank lines and lines starting with # are ignored. |
43 |
> # |
44 |
> # For the default list of supported combinations, see the file: |
45 |
> # /usr/share/i18n/SUPPORTED |
46 |
> # |
47 |
> # Whenever glibc is emerged, the locales listed here will be automatically |
48 |
> # rebuilt for you. After updating this file, you can simply run |
49 |
> `locale-gen` |
50 |
> # yourself instead of re-emerging glibc. |
51 |
> |
52 |
> en_US ISO-8859-1 |
53 |
> en_US.UTF-8 UTF-8 |
54 |
> #ja_JP.EUC-JP EUC-JP |
55 |
> #ja_JP.UTF-8 UTF-8 |
56 |
> #ja_JP EUC-JP |
57 |
> #en_HK ISO-8859-1 |
58 |
> #en_PH ISO-8859-1 |
59 |
> #de_DE ISO-8859-1 |
60 |
> #de_DE@euro ISO-8859-15 |
61 |
> es_MX ISO-8859-1 |
62 |
> #fa_IR UTF-8 |
63 |
> fr_FR ISO-8859-1 |
64 |
> fr_FR@euro ISO-8859-15 |
65 |
> #it_IT ISO-8859-1 |
66 |
> pl_PL ISO-8859-15 |
67 |
|
68 |
This looks fine. If when you run $ locale you get a list with LANG=en_US but |
69 |
further down LC_ALL= (blank), then set export LC_ALL=xxx in your .bashrc to |
70 |
whatever you want your locale set to. |
71 |
|
72 |
HTH. |
73 |
-- |
74 |
Regards, |
75 |
Mick |