Nathan Moore <[EMAIL PROTECTED]> writes:

> I guess that the best way to put it is, what is the correct behavior
> when none of the LC_ environmental variables
> are set?  This really isn't mentioned in the documentation (or I
> wasn't able to find it).

If they are not set, and if LANG is not set, then the locale is
implementation-defined, so you have to consult the documentation for
your C library to figure out what it does.

On all the hosts I'm aware of the default will be either "POSIX" or
"C"; there's no practical difference between the two.

To find out the default, run the "locale" command with an empty environment.
E.g., here's what happens on my host (Debian GNU/Linux 3.1):

$ env -i locale
LANG=POSIX
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to