Gentoo Archives: gentoo-dev

From: James Cloos <cloos@×××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: LANG=en_GB.UTF-8 by default
Date: Sun, 19 Feb 2012 01:03:37
Message-Id: m3d39bab83.fsf@carbon.jhcloos.org
In Reply to: [gentoo-dev] Re: LANG=en_GB.UTF-8 by default by Kerin Millar
1 >>>>> "KM" == Kerin Millar <kerframil@×××××.com> writes:
2
3 KM> Arch also used to define LC_COLLATE="C" by default, probably to
4 KM> mitigate unpredictable behaviour in some applications, but have
5 KM> since dropped this additional variable so they must have deemed it
6 KM> no longer necessary.
7
8 Without LC_COLLATE="C" things like [a-z]* gets a false=positive match
9 on files like Makefile.
10
11 I recently noticed a bug on b.g.o where the ebuild has something like
12 doc/[A-Z]* expecting that it will not match doc/some_lowercase_subdir.
13
14 The bug, of course, is that glibc fraudulently defaults the latin, greek
15 and cyrillic locales to case-insensitive.
16
17 The real fix is to have root be C.UTF-8. Which differs from C only in
18 that the charset is utf-8.
19
20 -JimC
21 --
22 James Cloos <cloos@×××××××.com> OpenPGP: 1024D/ED7DAEA6

Replies

Subject Author
Re: [gentoo-dev] Re: LANG=en_GB.UTF-8 by default Ben <yngwin@×××××.com>
[gentoo-dev] Re: LANG=en_GB.UTF-8 by default Kerin Millar <kerframil@×××××.com>