Gentoo Archives: gentoo-dev

From: Ulrich Mueller <ulm@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] UTF-8 locale by default
Date: Fri, 27 Jul 2012 07:09:31
Message-Id: 20498.15988.225230.614853@a1i15.kph.uni-mainz.de
In Reply to: Re: [gentoo-dev] UTF-8 locale by default by Ben de Groot
1 >>>>> On Fri, 27 Jul 2012, Ben de Groot wrote:
2
3 > I understand why the council rejected Debian's C.UTF-8 option,
4 > but is there really no better default that we can use?
5
6 > Without any default locale set, in practically all cases that means
7 > that the user is presented with English, and mostly the American
8 > variant. So, in practice, we are defaulting to en_US, just not in a
9 > unicode environment. Correct me if I'm wrong.
10
11 See below. We're not defaulting to en_US for things like the number
12 format.
13
14 > Also, in most other places (such as our website, GLEPs, ebuilds)
15 > we default to en_US.UTF-8.
16
17 > So let's upgrade to en_US.UTF-8, which is for most users more
18 > desirable than the current situation. Of course we will still advise
19 > them to set their desired locales in /etc/locale.gen. But at least
20 > they will start with a unicode environment, as expected anno 2012.
21
22 As I had pointed out before [1], changing from POSIX to an en_US
23 locale will have undesirable side effects, like commas as thousands
24 separators in numbers (because of LC_NUMERIC). Also the defaults of
25 en_US for LC_MEASUREMENT and LC_PAPER are only useful in the U.S.
26
27 So if we change the default (but I still don't see the need), we
28 should go for a less intrusive setting like:
29
30 LANG="POSIX"
31 LC_CTYPE="en_US.utf8"
32
33 Ulrich
34
35 [1] <http://archives.gentoo.org/gentoo-dev/msg_56a438adde8efebd467ada5f858048ba.xml>

Replies

Subject Author
Re: [gentoo-dev] UTF-8 locale by default "Rick \\\"Zero_Chaos\\\" Farina" <zerochaos@g.o>
Re: [gentoo-dev] UTF-8 locale by default Dan Douglas <ormaaj@×××××.com>
Re: [gentoo-dev] UTF-8 locale by default Cyprien Nicolas <c.nicolas@×××××.com>
Re: [gentoo-dev] UTF-8 locale by default "Chí-Thanh Christopher Nguyễn" <chithanh@g.o>