iconv from/to wchar_t

Bruno Haible haible@ilog.fr
Fri Oct 27 16:50:00 GMT 2000


What is the "wchar_t" encoding (see gconv_builtin.h) meant to be? Is it

  a) the system dependent and locale dependent wide character encoding,

or

  b) UCS-4 in machine-dependent endianness and properly aligned in memory?

I'm asking because

  1) If it's (a), then it would be good to have also a "char" encoding
     denoting the the system dependent and locale dependent multibyte
     encoding.

  2) I would like to make libiconv compatible to glibc on this point.

Bruno


More information about the Libc-alpha mailing list