autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NLS sanitization


From: Paul Eggert
Subject: Re: NLS sanitization
Date: Wed, 10 Oct 2007 00:20:19 -0700
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

These days I would just do this:

LC_ALL=C
export LC_ALL
LANGUAGE=C
export LANGUAGE

There is no longer any reason to worry about ancient hosts where setting
LC_ALL=C produced diagnostics.  These hosts died many years ago.

The LANGUAGE=C business is needed to avoid problems with glibc versions
that predate this change to glibc:

2001-01-02  Ulrich Drepper  <address@hidden>

        * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
        value is ignored if the selected locale is the C locale.

I suppose there are still a few hosts where that's an issue, so we
might as well still cater to them.

We shouldn't need to worry about setting the other LC_* variables, or
LANG; LC_ALL should override their settings.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]