Jungshik Shin <[EMAIL PROTECTED]> writes:
> At least under Solaris, it's locale-dependent. I don't know
> the details, but it seems like somehow Sun engineers found that it's
> better that way (in terms of efficiency or some other metrics....).
This has historic reasons. They are stuck with the locale dependent
wchar_t because the Xlib i18n model they are using for the ja/ko/zh
depends on it. X expects wchar_t values in locales using the EUC
charsets to use the bytes of the multibyte EUC values.
I'm pretty sure they want to get away from this asap.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------
-
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/linux-utf8/