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)
Thu, Apr 16, 5:10 PM
Unknown Object (File)
Sun, Apr 12, 5:35 PM
Unknown Object (File)
Sun, Apr 12, 9:24 AM
Unknown Object (File)
Sat, Apr 11, 8:55 PM
Unknown Object (File)
Tue, Apr 7, 6:33 AM
Unknown Object (File)
Sat, Apr 4, 6:50 AM
Unknown Object (File)
Sat, Apr 4, 3:21 AM
Unknown Object (File)
Fri, Apr 3, 8:43 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