Skip site navigation (1)Skip section navigation (2)
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/>
References:  <bug-272293-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272293

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=3D243134&action=
=3Dedit
Test program using iconv directly

I wrote a test program that reproduces this behavior by calling iconv direc=
tly.
 It gets an error with 13.2 libc iconv but produces plausible output with t=
he
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 te=
sted
with the common characters that fit in 16 bits.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272293-227-jjIGuxcQ5P>