Date: Mon, 11 Jun 2001 23:52:23 +0400 From: "Andrey A. Chernov" <ache@nagual.pp.ru> To: Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de> Cc: freebsd-current@FreeBSD.ORG Subject: Re: HEADS UP: locale names reorganization Message-ID: <20010611235223.A48405@nagual.pp.ru> In-Reply-To: <20010611233423.A48057@nagual.pp.ru>; from ache@nagual.pp.ru on Mon, Jun 11, 2001 at 11:34:25PM %2B0400 References: <20010610163853.A1166@nagual.pp.ru> <200106101537.f5AFavo33433@mail.uic-in.net> <200106102136.f5ALawu94200@uriah.heep.sax.de> <20010611020547.A1379@nagual.pp.ru> <20010611082525.F94133@uriah.heep.sax.de> <20010611160108.A34164@nagual.pp.ru> <20010611212016.K94133@uriah.heep.sax.de> <20010611233423.A48057@nagual.pp.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
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 http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010611235223.A48405>