Page MenuHomeFreeBSD

iconv: only conditionally use ICONV_SET_DISCARD_ILSEQ
ClosedPublic

Authored by kevans on Feb 22 2022, 5:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 5, 1:09 AM
Unknown Object (File)
Sun, Oct 4, 7:35 AM
Unknown Object (File)
Fri, Oct 2, 3:38 PM
Unknown Object (File)
Wed, Sep 23, 11:43 PM
Unknown Object (File)
Sun, Sep 13, 2:33 AM
Unknown Object (File)
Sep 8 2026, 5:46 AM
Unknown Object (File)
Aug 30 2026, 4:31 PM
Unknown Object (File)
Aug 26 2026, 4:31 PM
Subscribers

Details

Summary

If the -c flag is used, then we can set it with ICONV_SET_DISCARD_ILSEQ;
otherwise, leave it alone. The user may have specified //IGNORE in the
'to' codeset specification, there's no reason we can't allow that but
we'll currently turn it off.

Sponsored by: Klara, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable