Gentoo Archives: gentoo-user

From: Stroller <stroller@××××××××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: How's the openrc update going for everyone?
Date: Sat, 14 May 2011 15:57:54
Message-Id: 10A8160E-1991-417F-8720-4C726A38DC07@stellar.eclipse.co.uk
In Reply to: Re: [gentoo-user] Re: How's the openrc update going for everyone? by Mick
1 On 13/5/2011, at 8:27pm, Mick wrote:
2 > ...
3 > Here's mine if you want to compare with my previously sent output:
4 >
5 > $ cat /etc/env.d/02locale
6 > LANG="en_GB.UTF-8"
7 > LC_CTYPE="en_GB.UTF-8"
8 > LC_NUMERIC="en_GB.UTF-8"
9 > LC_TIME="en_GB.UTF-8"
10 > LC_COLLATE="C"
11 > LC_MONETARY="en_GB.UTF-8"
12 > LC_MESSAGES="en_GB.UTF-8"
13 > LC_PAPER="en_GB.UTF-8"
14 > LC_NAME="en_GB.UTF-8"
15 > LC_ADDRESS="en_GB.UTF-8"
16 > LC_TELEPHONE="en_GB.UTF-8"
17 > LC_MEASUREMENT="en_GB.UTF-8"
18 > LC_IDENTIFICATION="en_GB.UTF-8"
19
20 If you have LANG set, then there's no need to set any of the others to the same locale.
21
22 If you set LC_TIME="POSIX" then am / pm will display correctly.
23
24 I.E.:
25
26 $ cat /etc/env.d/02locale
27 LANG="en_GB.UTF-8"
28 LC_TIME="POSIX"
29 $
30
31 The necessity for this is a glibc bug:
32 http://sourceware.org/bugzilla/show_bug.cgi?id=3768
33 This does, however, show the value of setting LANG over LC_ALL (it being impossible, as discussed, to override the latter).
34
35 Stroller.