Gentoo Archives: gentoo-dev

From: James Cloos <cloos@×××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Locale check in python_pkg_setup()
Date: Sat, 31 Jul 2010 21:41:33
Message-Id: m31vajmiu0.fsf@carbon.jhcloos.org
In Reply to: Re: [gentoo-dev] Locale check in python_pkg_setup() by "Paweł Hajdan
1 >>>>> "PH" == Paweł Hajdan, <phajdan.jr@g.o> writes:
2
3 PH> Another thing we can consider is making UTF8 the default setup in
4 PH> Gentoo. I think most people (including me) don't care whether it's
5 PH> C or UTF8 as long as it works.
6
7 Forcing utf-8 will only be reasonable when there is a C.UTF-8 and/or
8 a POSIX.UTF-8 locale.
9
10 That should be done upstream in glibc, but were they to refuse then
11 Gentoo should add it to the glibc ebuild.
12
13 The language_country locales are just wrong for root. They are often
14 broken (locales like en_US force case-insensitive colation, meaning that
15 a command such as 'rm [a-z]*' will unlink(2) 'Makefile' and similar files
16 which one would not expect to match) and cause bugs.
17
18 In fact, glibc's insistance that C and POSIX are ascii rather than raw
19 unspecified eight bit is itself a bug.
20
21 Utf8 is nice, but forcing the lang_country locales on root is not.
22
23 -JimC
24 --
25 James Cloos <cloos@×××××××.com> OpenPGP: 1024D/ED7DAEA6

Replies

Subject Author
Re: [gentoo-dev] Locale check in python_pkg_setup() Mike Frysinger <vapier@g.o>
[gentoo-dev] Re: Locale check in python_pkg_setup() Jonathan Callen <abcd@g.o>