1 Aug 2010 01:30
Re: Locale check in python_pkg_setup()
Jonathan Callen <abcd <at> gentoo.org>
2010-07-31 23:30:03 GMT
2010-07-31 23:30:03 GMT
On 07/31/2010 05:39 PM, James Cloos wrote: >>>>>> "PH" == Paweł Hajdan, <phajdan.jr <at> gentoo.org> writes: > > PH> Another thing we can consider is making UTF8 the default setup in > PH> Gentoo. I think most people (including me) don't care whether it's > PH> C or UTF8 as long as it works. > > Forcing utf-8 will only be reasonable when there is a C.UTF-8 and/or > a POSIX.UTF-8 locale. > > That should be done upstream in glibc, but were they to refuse then > Gentoo should add it to the glibc ebuild. > > The language_country locales are just wrong for root. They are often > broken (locales like en_US force case-insensitive colation, meaning that > a command such as 'rm [a-z]*' will unlink(2) 'Makefile' and similar files > which one would not expect to match) and cause bugs. > > In fact, glibc's insistance that C and POSIX are ascii rather than raw > unspecified eight bit is itself a bug. > > Utf8 is nice, but forcing the lang_country locales on root is not. > > -JimC You can create a POSIX.UTF-8 locale right now, using the same /etc/locale.gen mechanism that is used for generating other locales (localedef will output a few warnings, but the generated locale works just fine from what I can see). If you want a C.UTF-8 locale, then you(Continue reading)
RSS Feed