Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Cc: James Cloos <cloos@×××××××.com>
Subject: Re: [gentoo-dev] Locale check in python_pkg_setup()
Date: Sat, 31 Jul 2010 22:05:14
Message-Id: 201007311804.52507.vapier@gentoo.org
In Reply to: Re: [gentoo-dev] Locale check in python_pkg_setup() by James Cloos
1 On Saturday, July 31, 2010 17:39:27 James Cloos wrote:
2 > Paweł Hajdan writes:
3 > > Another thing we can consider is making UTF8 the default setup in
4 > > Gentoo. I think most people (including me) don't care whether it's
5 > > 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 > In fact, glibc's insistance that C and POSIX are ascii rather than raw
11 > unspecified eight bit is itself a bug.
12
13 yeah, no. take it up with the POSIX group where they're already working on
14 defining a C.UTF-8/etc... locale.
15
16 > That should be done upstream in glibc, but were they to refuse then
17 > Gentoo should add it to the glibc ebuild.
18
19 this doesnt really make sense, upstream or down. if you wanted to talk about
20 setting default LANG in the baselayout, then that's about the only reasonable
21 possibility (especially since we already do this to a degree). screwing with
22 default locale when no locale variables are set is madness.
23
24 > The language_country locales are just wrong for root. They are often
25 > broken (locales like en_US force case-insensitive colation, meaning that
26 > a command such as 'rm [a-z]*' will unlink(2) 'Makefile' and similar files
27 > which one would not expect to match) and cause bugs.
28
29 this is pure opinion
30 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] Locale check in python_pkg_setup() James Cloos <cloos@×××××××.com>