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 |