(I reply only to the list I subscribe to.)
Nuesser, Wilhelm <[EMAIL PROTECTED]>:
> We suggest the names utf16_t and utf32_t. Technically these types
> are unsigned integers of 16 and 32 bits length, respectively.
It's not clear to me what these types mean. If they are just unsigned
integers of the appropriate length, then why not just use u_int16_t
and u_int32_t? On the other hand, if the semantics of utf16_t is
supposed to include surrogates, then I don't see how some of these
functions could be implemented, for example:
> int isalphaU16 (utf16int_t);
What does this do with a surrogate?
> int mbtoU16 (utf16_t *, const char *, size_t);
How does this output a surrogate pair?
(Anonymous hidden state and magic return values?)
Edmund
-
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/lists/