logo       

two locales for two charsets (was Re: CVS: herc.66h.42h.de: src): msg#00002

Subject: two locales for two charsets (was Re: CVS: herc.66h.42h.de: src)
Thorsten Glaser dixit:

>now, the only functions weak are these which are required
>to keep our "system of two codesets" (ASCII and UTF-8) but
>enhance the "system of two locales" (C=ASCII and en_US.UTF-8)
>to a system of ASCII and UTF-8 locales with internationa-
>lised output (via catgets/gettext)

(and other "base" functions requiring LC_* support, such as
strcoll/strxfrm (LC_COLLATE), and their wcs/mbs equivalents)

Rationale: our wchar_t only contains 16 bit anyway and is
required to be in UCS-2HE (host endian) encoding by every-
thing else; so you cannot extend the system by other char-
sets (besides, 8-bit charsets are a bad idea and everything
else (16-bit charsets or shifted encodings) much worse).
I however promised bsiegert@ to keep enough functions weak
so someone weird can write an LD_PRELOADable thingie which
supports him to export LANG=de_DE.UTF-8 and have Kein Welt-
raum links auf dem Gerät in his messages. Don't fear though,
it will never come into base.

bye,
//mirabile
-- 
> emacs als auch vi zum Kotzen finde (joe rules) und pine für den einzig
> bedienbaren textmode-mailclient halte (und ich hab sie alle ausprobiert). ;)
Hallooooo, ich bin der Holger ("Hallo Holger!"), und ich bin ebenfalls
... pine-User, und das auch noch gewohnheitsmäßig ("Oooooooohhh").  [aus dasr]



<Prev in Thread] Current Thread [Next in Thread>