Date: Sun, 02 Jul 2023 14:18:33 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 272293] The mbrtoc32 and mbrtoc16 functions don't recognize the same multibyte sequences as mbrtowc Message-ID: <bug-272293-227-jjIGuxcQ5P@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-272293-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272293 John F. Carr <jfc@mit.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jfc@mit.edu Attachment #243134|text/x-csrc |text/plain mime type| | --- Comment #3 from John F. Carr <jfc@mit.edu> --- Created attachment 243134 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=243134&action=edit Test program using iconv directly I wrote a test program that reproduces this behavior by calling iconv directly. It gets an error with 13.2 libc iconv but produces plausible output with the ports version and with the iconv in Mac OS 13.2.1. The input encoding is unfamiliar to me. I observe that the output value doesn't fit in 16 bits and I have seen bugs before in code that was only tested with the common characters that fit in 16 bits. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272293-227-jjIGuxcQ5P>
