[Bug localedata/19932] C locale: mbrtowc returns (size_t) -1
bruno at clisp dot org via Glibc-bugs <[email protected]> Tue, 16 Jun 2026 10:34:34 +0000
| Newsgroups | gmane.comp.lib.glibc.bugs |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://sourceware.org/bugzilla/show_bug.cgi?id=19932 --- Comment #5 from Bruno Haible <bruno at clisp dot org> --- In musl libc, in the C locale, the mapping table does - map x (0 <= x <= 0x7F) to Unicode x, - map x (0x80 <= x <= 0xFF) to Unicode 0xDF00+x. If glibc was to adopt the same mapping table, this would not complicate things for portable programs (which have to deal with musl libc anyway). -- You are receiving this mail because: You are on the CC list for the bug.