Gnulib module: btowc
Portability problems fixed by Gnulib:
Portability problems not fixed by Gnulib:
wchar_tis a 16-bit type and therefore cannot accommodate all Unicode characters. However, the Gnulib function
btoc32, provided by Gnulib module
btoc32, operates on 32-bit wide characters and therefore does not have this limitation.
mbrtowcand can return
WEOF: glibc 2.23, MirOS BSD #10.