Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Mar 2002 21:40:31 +0300
From:      "Andrey A. Chernov" <ache@nagual.pp.ru>
To:        Garrett Wollman <wollman@lcs.mit.edu>
Cc:        Tomas Pluskal <plusik@pohoda.cz>, freebsd-i18n@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG
Subject:   Re: multibyte(3) functions not working ?
Message-ID:  <20020309184030.GA76001@nagual.pp.ru>
In-Reply-To: <200203091802.g29I27A56503@khavrinen.lcs.mit.edu>
References:  <200203082129.g28LTf644313@khavrinen.lcs.mit.edu> <20020309130309.H5448-100000@s096-n062.tele2.cz> <200203091802.g29I27A56503@khavrinen.lcs.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 09, 2002 at 13:02:07 -0500, Garrett Wollman wrote:

> (See, e.g., JIS X0208.)  The wide character repertoire, like the
> multibyte encoding, is locale-specific.

As POSIX says:

"wchar_t

Integer type whose range of values can represent distinct wide-character
codes for all members of the largest character set specified among the
locales supported by the compilation environment: the null character has
the code value 0 and each member of the portable character set has a code
value equal to its value when used as the lone character in an integer
character constant."

It supposes that wchar_t _may_ be locale-specific so treating it as
Unicode in all cases is plain wrong.

-- 
Andrey A. Chernov
http://ache.pp.ru/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020309184030.GA76001>