public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: James Cloos <cloos@jhcloos.com>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Re: LANG=en_GB.UTF-8 by default
Date: Sat, 18 Feb 2012 20:00:04 -0500	[thread overview]
Message-ID: <m3d39bab83.fsf@carbon.jhcloos.org> (raw)
In-Reply-To: <jhn2is$cpq$1@dough.gmane.org> (Kerin Millar's message of "Sat, 18 Feb 2012 02:31:55 +0000")

>>>>> "KM" == Kerin Millar <kerframil@gmail.com> writes:

KM> Arch also used to define LC_COLLATE="C" by default, probably to
KM> mitigate unpredictable behaviour in some applications, but have
KM> since dropped this additional variable so they must have deemed it
KM> no longer necessary.

Without LC_COLLATE="C" things like [a-z]* gets a false=positive match
on files like Makefile.

I recently noticed a bug on b.g.o where the ebuild has something like
doc/[A-Z]* expecting that it will not match doc/some_lowercase_subdir.

The bug, of course, is that glibc fraudulently defaults the latin, greek
and cyrillic locales to case-insensitive.

The real fix is to have root be C.UTF-8.  Which differs from C only in
that the charset is utf-8.

-JimC
-- 
James Cloos <cloos@jhcloos.com>         OpenPGP: 1024D/ED7DAEA6



  reply	other threads:[~2012-02-19  1:03 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-15 11:58 [gentoo-dev] LANG=en_GB.UTF-8 by default Francesco R.(vivo)
2012-02-15 12:22 ` Mr. Aaron W. Swenson
2012-02-18  2:31   ` [gentoo-dev] " Kerin Millar
2012-02-19  1:00     ` James Cloos [this message]
2012-02-19  2:04       ` Ben
2012-02-19 11:39         ` Amadeusz Żołnowski
2012-02-19 15:14         ` Ulrich Mueller
2012-02-19 15:56           ` Ben
2012-02-19 18:44             ` Kerin Millar
2012-02-19 20:03             ` Ulrich Mueller
2012-02-20  0:11             ` William Hubbs
2012-02-20  3:07               ` Kerin Millar
2012-02-20  7:47                 ` Fabian Groffen
2012-02-20 12:27                   ` Kerin Millar
2012-02-19 19:14       ` Kerin Millar
2012-02-20  9:49   ` [gentoo-dev] " Chí-Thanh Christopher Nguyễn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3d39bab83.fsf@carbon.jhcloos.org \
    --to=cloos@jhcloos.com \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox