[Bug 265871] lib.libc.locale.c16rtomb_test.c16rtomb_utf_8_test failed after iconv changes on 2022-08-11

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 20 Mar 2023 01:59:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265871

--- Comment #4 from Kyle Evans <kevans@freebsd.org> ---
(In reply to Mark Johnston from comment #3)

Sorry, I kind of forgot about this (not sure why this one doesn't show up in my
weekly nag-mail from bz). I looked at it a bit tonight, but I'm still
considering the options a bit.

What's happening is that it's passing through \xd8\x3d, an incomplete UTF-8
sequence, followed by 'A'. With a functional //IGNORE, we're doing the right
thing and just dropping the invalid sequence on the floor and keeping the 'A'.

I don't know that that's the right thing for the interface, though; I think
this might be worth another flag that you get when you specify //IGNORE while
we retain the legacy behavior for ci_discard_ilseq.

-- 
You are receiving this mail because:
You are on the CC list for the bug.