[SDL] SDL_iconv UCS-4 endianness
list at akfoerster.de
list at akfoerster.de
Sun Oct 7 12:16:10 PDT 2007
Am Tuesday, dem 25. Sep 2007 schrieb Christian Walther:
> I just discovered an inconsistency with SDL_iconv: SDL's internal iconv
> implementation (used by SDL_iconv on Mac OS X) interprets "UCS-4" as
> native-endian, while GNU libc iconv (used by SDL_iconv on Linux)
> interprets it as big-endian (same as "UCS-4BE") (and seems to have no
> option for native-endian UCS-4). Any idea who's right (if there even is
> a commonly accepted definition of "right")?
If you want the "native" encoding for GNU libc,
use the encoding name "WCHAR_T".
(I still think it would be a good idea to define "WCHAR_T" also in SDL)
--
AKFoerster
More information about the SDL
mailing list