From: Dan Douglas <ormaaj@gmail.com>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] UTF-8 locale by default
Date: Fri, 27 Jul 2012 03:06:43 -0500 [thread overview]
Message-ID: <2734677.97hjmIHWxX@smorgbox> (raw)
In-Reply-To: <20498.15988.225230.614853@a1i15.kph.uni-mainz.de>
[-- Attachment #1: Type: text/plain, Size: 2114 bytes --]
On Friday, July 27, 2012 09:08:36 AM Ulrich Mueller wrote:
> >>>>> On Fri, 27 Jul 2012, Ben de Groot wrote:
>
> > I understand why the council rejected Debian's C.UTF-8 option,
> > but is there really no better default that we can use?
>
> > Without any default locale set, in practically all cases that means
> > that the user is presented with English, and mostly the American
> > variant. So, in practice, we are defaulting to en_US, just not in a
> > unicode environment. Correct me if I'm wrong.
>
> See below. We're not defaulting to en_US for things like the number
> format.
>
> > Also, in most other places (such as our website, GLEPs, ebuilds)
> > we default to en_US.UTF-8.
>
> > So let's upgrade to en_US.UTF-8, which is for most users more
> > desirable than the current situation. Of course we will still advise
> > them to set their desired locales in /etc/locale.gen. But at least
> > they will start with a unicode environment, as expected anno 2012.
>
> As I had pointed out before [1], changing from POSIX to an en_US
> locale will have undesirable side effects, like commas as thousands
> separators in numbers (because of LC_NUMERIC). Also the defaults of
> en_US for LC_MEASUREMENT and LC_PAPER are only useful in the U.S.
>
> So if we change the default (but I still don't see the need), we
> should go for a less intrusive setting like:
>
> LANG="POSIX"
> LC_CTYPE="en_US.utf8"
>
> Ulrich
>
You're concerned about the commas breaking things? Given that you usually need
to specifically ask for them (i.e., printf ' flag), and that kind of output is
usually going to be for human consumption only that seems unlikely. If
anything does rely upon the format, can't tolerate different locales, and fails
to specify LC_NUMERIC then it's broken anyway.
LC_MONETARY / LC_MEASUREMENT as en_US are probably slightly more annoying
defaults for some people. What do users of other distros think? Is this really
a serious problem for anyone?
LC_CTYPE=en_US.utf8 would be a bare minimum. The important bit is getting utf8
by default. I can live with LANG=POSIX.
--
Dan Douglas
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2012-07-27 8:08 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-19 21:39 [gentoo-dev] UTF-8 locale by default Sascha Cunz
2012-07-19 22:23 ` Chí-Thanh Christopher Nguyễn
2012-07-19 22:28 ` Ulrich Mueller
2012-07-27 6:42 ` Ben de Groot
2012-07-27 7:08 ` Ulrich Mueller
2012-07-27 7:19 ` Rick "Zero_Chaos" Farina
2012-07-27 8:06 ` Dan Douglas [this message]
2012-07-27 8:34 ` Ben de Groot
2012-07-27 8:49 ` Michał Górny
2012-07-27 8:38 ` Cyprien Nicolas
2012-07-27 8:47 ` Michał Górny
2012-07-27 12:13 ` Chí-Thanh Christopher Nguyễn
2012-07-27 17:24 ` Mike Frysinger
2012-07-27 18:29 ` Pacho Ramos
2012-07-27 20:16 ` Aaron W. Swenson
2012-07-27 20:55 ` Diego Elio Pettenò
2012-07-30 14:35 ` Michael Orlitzky
2012-07-30 14:41 ` Michał Górny
2012-07-30 14:50 ` Michael Orlitzky
2012-07-30 16:28 ` Michał Górny
2012-07-30 16:57 ` Michael Mol
2012-07-30 17:33 ` Michael Orlitzky
2012-07-30 19:02 ` Walter Dnes
2012-07-31 15:16 ` Michael Orlitzky
2012-08-02 21:38 ` Kent Fredric
2012-07-30 15:04 ` Michael Mol
2012-07-30 15:51 ` Aaron W. Swenson
2012-08-01 20:18 ` Andreas K. Huettel
2012-08-01 20:29 ` Michael Orlitzky
2012-08-02 0:20 ` Walter Dnes
2012-08-02 1:00 ` Mike Gilbert
2012-08-02 6:42 ` Fabian Groffen
2012-08-02 9:14 ` Stelian Ionescu
2012-08-02 18:21 ` Diego Elio Pettenò
2012-08-02 18:32 ` Mike Gilbert
2012-08-03 14:59 ` Matthew Summers
2012-08-03 15:47 ` Michał Górny
2012-08-03 16:54 ` Alexis Ballier
2012-08-03 17:09 ` Diego Elio Pettenò
2012-08-02 18:45 ` Alexis Ballier
2012-08-02 5:36 ` Peter Stuge
2012-08-02 18:22 ` [gentoo-dev] " Duncan
2012-08-02 5:43 ` [gentoo-dev] " Sergey Popov
2012-07-30 14:42 ` Michael Mol
2012-07-30 15:29 ` Rich Freeman
2012-08-03 5:16 ` Luca Barbato
2012-08-08 1:58 ` Dan Douglas
2012-12-31 17:14 ` Maxim Kammerer
2012-12-31 21:44 ` Zac Medico
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=2734677.97hjmIHWxX@smorgbox \
--to=ormaaj@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