Tue, 31 Oct 2000 17:11:43 +0100 (CET), Bruno Haible <[EMAIL PROTECTED]> pisze:
> But then it is not useful to check __STDC_ISO_10646__. The following
> is more portable:
>
> const uint16_t[] wstr = { 0x201c };
> char* str;
> size_t length;
> if (iconv_string (nl_langinfo (CODESET), "UCS-2",
Won't work when the endiannesses don't match.
(Using Unicode in C is a pain.)
--
__("< Marcin Kowalczyk * [EMAIL PROTECTED] http://qrczak.ids.net.pl/
\__/
^^ SYGNATURA ZASTĘPCZA
QRCZAK
-
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/lists/