On Wed, 10 Jul 2002, Marius Gedminas wrote:
> On Tue, Jul 09, 2002 at 06:09:01PM -0700, Keith Packard wrote:
> > Around 18 o'clock on Jul 9, Jungshik Shin wrote:

> > > >         b)      use $LANG or $LC_CTYPE?
> > >
> > >   If this road is taken, it has to be determined which env.
> > > variables have to be refered to in what order. AFAIK, SUS and POSIX say
> > > that it's implementation-dependent.
>
> POSIX fixes the order to LC_ALL, then LC_CTYPE, then LANG.

  Could you quote the part of  SUS3/POSIX where this rule is fixed
as you wrote.  All I can find is setlocale() manual a part of which reads

-------
  setlocale(category,"")

   This sets a specific category to an implementation-defined default.
This corresponds to the value of the environment variables.
-----

  The man page of setlocale() in glibc 2.2.x has the following:

------
If locale(2nd argument) is "", each part of the locale that should
be modified is set according to the env. variables. The details
are implementation dependent. For glibc, first, the env. variable
LC_ALL is inspected, next ........
-------

  Jungshik

_______________________________________________
I18n mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/i18n

Reply via email to