On 19/02/2012 15:56, Ben wrote:
On 19 February 2012 23:14, Ulrich Mueller<u...@gentoo.org>  wrote:
On Sun, 19 Feb 2012, Ben  wrote:

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

LANG=en_US.UTF-8
LC_ALL=

LC_ALL isn't needed here because, unlike other LC_* settings, it does not inherit from LANG and, thus, will be undefined anyway. Although the above would not directly cause any harm, I am entirely certain that its mere presence would encourage users to explicitly define it where they most definitely should not. The misinformation that LC_ALL should be defined was propagated by the localization doc for rather a long time and it was rather challenging to impress upon its maintainers that change was required. Let's not repeat old mistakes.

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.

At least, LC_NUMERIC=C should be added to this, otherwise numbers will
be formatted with commas as thousands separators.

Also en_US.UTF-8 for LC_MEASUREMENT and LC_PAPER means imperial units
and letter paper, which isn't optimal for users outside of the U.S.

Ulrich


I think those users (and that includes myself) should then set LANG to
something more appropriate to their use case.


I agree; the defaults should not be over-engineered. For proper localisation, set LANG appropriately and done. The real issue is that locale configuration isn't mentioned in the handbook. It does, however, mention locale.gen so we're half-way there.

--Kerin


Reply via email to