10.46.36 mbtowc ¶
POSIX specification:
https://pubs.opengroup.org/onlinepubs/9799919799/functions/mbtowc.html
Gnulib module: mbtowc
Portability problems fixed by Gnulib:
- This function is missing on some platforms:
Android 4.4.
Portability problems not fixed by Gnulib:
- In UTF-8 locales, this function may return wide characters up to 0x7FFFFFFF
(that is, beyond 0x0010FFFF) on some platforms:
glibc 2.34.
- This function accumulates hidden state on some platforms:
glibc 2.8 (see https://sourceware.org/PR9674).
- On Windows and 32-bit AIX platforms,
wchar_t is a 16-bit type and therefore cannot
accommodate all Unicode characters.