Gentoo Archives: gentoo-user

From: Chris Stankevitz <chrisstankevitz@×××××.com>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] export LC_CTYPE=en_US.UTF-8
Date: Mon, 05 Aug 2013 22:52:31
Message-Id: CAPi0psuhSV+aoMbRPzVyo7vHwkG8Xe+5ucq6RKQcC=EGtEU0=w@mail.gmail.com
In Reply to: Re: [gentoo-user] export LC_CTYPE=en_US.UTF-8 by Mike Gilbert
1 On Mon, Aug 5, 2013 at 11:53 AM, Mike Gilbert <floppym@g.o> wrote:
2 > The handbook documents setting a system-wide default locale. You
3 > generally do this by setting the LANG variable in
4 > /etc/conf.d/02locale.
5 >
6 > http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1&chap=8#doc_chap3_sect3
7
8 Mike,
9
10 Thank you for your help. I attempted to follow these instructions and
11 ran into three problems. Can you please confirm the fixes I employed
12 to deal with each of these issues:
13
14 1. The handbook suggests I should modify the file /etc/env.d/02locale,
15 but that file does not exist on my system. RESOLUTION: create the
16 file
17
18 2. The handbook suggests I should add this line to
19 /etc/env.d/02locale: 'LANG="de_DE.UTF-8"', but I do not speak the
20 language "DE". RESOLUTION: type instead 'LANG="en_US.UTF-8"' to match
21 /etc/locale.gen
22
23 3. The handbook suggests that I should add this line to
24 /etc/env.d/02locale: 'LC_COLLATE="C"', but I do not know if they are
25 again talking about the language "DE". RESOLUTION: I assumed
26 LC_COLLATE=C refers to english and added the line without
27 modification.
28
29 Thank you again for your help,
30
31 Chris

Replies

Subject Author
[gentoo-user] Re: export LC_CTYPE=en_US.UTF-8 Kai Krakow <hurikhan77@×××××.com>
Re: [gentoo-user] export LC_CTYPE=en_US.UTF-8 Kerin Millar <kerframil@×××××××××××.uk>
Re: [gentoo-user] export LC_CTYPE=en_US.UTF-8 Mike Gilbert <floppym@g.o>