[Bug 255646] newlocale(LC_ALL_MASK, (locale_t) 0) wrongly destroys LC_COLLATE in an existing object

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu May 6 20:37:49 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255646

--- Comment #2 from Karl Williamson <khw at cpan.org> ---
I had considered the possibility that POSIX and C would have the same collating
sequence.  But before I filed the report, I tried a third locale, which
happened to be C.UTF-8.  I couldn't imagine that it would have the same
collating sequence as the other two, and still don't.

\xC0\x80 is a legal sequence in the first two locales, but not in the third. 
Are you ignoring input validity in collation?

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


More information about the freebsd-bugs mailing list