On Mon, Jun 11, 2001 at 23:34:25 +0400, Andrey A. Chernov wrote:

> All Unices have problem with it since it is standard relaxation provided
> historycally. Recent standartization efforts attempts to compensate such
> bad practice, f.e. nl_langinfo(CODESET) allows you to get codeset now, but
> nothing yet allows you to get territory of shortest locale name. Old
> programs are not aware about nl_langinfo(CODESET) and attempts to get all
> info from env. variable value. In case there is short form, programs make
> various assumptions which are different and often not right.

I.e. theoretically right now we can reduce locale names to two components
(language and territory) since we have in -current (but not in -stable)
nl_langinfo(CODESET), but not to one component (language) since there is
no standard function to get territory. But then we need to rewrite all old
programs which parse LANG directly to use nl_langinfo(CODESET).

Andrey A. Chernov

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to