public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Ben <yngwin@gmail.com>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Re: LANG=en_GB.UTF-8 by default
Date: Sun, 19 Feb 2012 10:04:19 +0800	[thread overview]
Message-ID: <CAB9SyzRMQaHobTrOw6tWgeA0jTimNJwFg08JHP98_fGVoWaQsw@mail.gmail.com> (raw)
In-Reply-To: <m3d39bab83.fsf@carbon.jhcloos.org>

On 19 February 2012 09:00, James Cloos <cloos@jhcloos.com> wrote:
> Without LC_COLLATE="C" things like [a-z]* gets a false=positive match
> on files like Makefile. [...]
>
> The real fix is to have root be C.UTF-8.  Which differs from C only in
> that the charset is utf-8.

In my opinion we should set a default environment with the following values:

LANG=en_US.UTF-8
LC_ALL=
LC_COLLATE=C

This offers the best default options to the majority of users, and is
easy to customize for those who wish to use another locale.

And yes, LC_ALL needs to be empty, because it would override the other
LC_* values.

This should be combined with some good unicode fonts, such as the
LatCyrGr-16 for console, and dejavu for X.

Cheers,
Ben



  reply	other threads:[~2012-02-19  2:05 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
2012-02-19  2:04       ` Ben [this message]
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=CAB9SyzRMQaHobTrOw6tWgeA0jTimNJwFg08JHP98_fGVoWaQsw@mail.gmail.com \
    --to=yngwin@gmail.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