Gentoo Archives: gentoo-user

From: Volker Armin Hemmann <volkerarmin@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Question regarding UTF-8 settings
Date: Sun, 28 Aug 2011 12:53:57
Message-Id: 1806196.JJ0prvbdUV@localhost
In Reply to: [gentoo-user] Question regarding UTF-8 settings by meino.cramer@gmx.de
1 Am Sonntag 28 August 2011, 10:51:36 schrieb meino.cramer@×××.de:
2 > Hi,
3 >
4 > following this guide:
5 > http://www.gentoo.org/doc/en/utf-8.xml
6 >
7 > Doing a
8 >
9 > locale -a | grep de_DE | grep utf
10 >
11 > I got:
12 >
13 > de_DE.utf8
14 >
15 > .
16 >
17 > Then I created the file
18 >
19 > /etc/init.d/02locale
20 >
21 > with the contents:
22 >
23 > LC_CTYPE=de_DE.utf8
24 >
25 > . As root I did a
26 >
27 > rc-update
28 >
29 > , which runs without any error/warning message.
30 >
31 > I sourced
32 >
33 > /etc/profile
34 >
35 > and did a
36 >
37 > locale
38 >
39 > . The output was -- despite of what the guide exspected --
40 >
41 >
42 > LANG=
43 > LC_CTYPE=de_DE.utf8
44 > LC_NUMERIC="POSIX"
45 > LC_TIME="POSIX"
46 > LC_COLLATE="POSIX"
47 > LC_MONETARY="POSIX"
48 > LC_MESSAGES="POSIX"
49 > LC_PAPER="POSIX"
50 > LC_NAME="POSIX"
51 > LC_ADDRESS="POSIX"
52 > LC_TELEPHONE="POSIX"
53 > LC_MEASUREMENT="POSIX"
54 > LC_IDENTIFICATION="POSIX"
55 > LC_ALL=
56 >
57 > Since there is no "what to do if something else happens"-paragraph in
58 > the guide, I want to ask here, what I am doing wrong...???
59 >
60 > Thank you very much in advance for any help!
61 >
62 > Best regards,
63 > mcc
64
65 why don't you just set:
66 LC_ALL=de_DE.utf8
67 and
68 LANG=de_DE.utf8
69 and maybe even LANGUAGE
70 --
71 #163933