Keith Packard <[EMAIL PROTECTED]> writes:

> Agreed; this choice was somewhat rhetorical in nature...
> 
> > >   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.
> 
> Too bad the POSIX spec is closed so I can't check.  I've decided to go 
> ahead and do this and follow the glibc convention; that's based on the 
> principle of least surprise -- it would be very surprising to users when 
> the same font name generated different results in different applications.

[offtopic] Actually, the latest version of the POSIX/Single Unix spec
is freely available online, though it can be a little hard to find.

 http://www.unix-systems.org/version3/online.html

(registration is involved, which gives you an URL you can bookmark.)

As far as the question at hand; I think that giving up and using a
default value or no value is fine if setlocale() hasn't been
called. But I don't see any problems with checking
LC_ALL/LC_CTYPE/LANG... it might be a nice touch.

Regards,
                                        Owen
_______________________________________________
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts

Reply via email to