[PATCH] Reset converter state after second wchar_t output (Bug 25734)
Andreas Schwab
schwab@suse.de
Mon Mar 30 12:11:56 GMT 2020
On Mär 27 2020, Carlos O'Donell wrote:
> An input BIG5-HKSCS character may be converted into at most 2 whcar_t
> characters.
Could someone please file an interpretation request for POSIX, what
should happen in that two wchar_t case? I think a case could be made
that mbrtowc should return -1/EILSEQ, but that also has implications for
mbsrtowcs, since that is defined in terms of repeated application of
mbrtowc.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
More information about the Libc-alpha
mailing list