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)
Sun, Jun 15, 7:06 AM
Unknown Object (File)
Sat, Jun 14, 5:40 AM
Unknown Object (File)
Wed, Jun 11, 5:06 PM
Unknown Object (File)
Mon, Jun 9, 8:22 AM
Unknown Object (File)
Jun 6 2025, 8:27 PM
Unknown Object (File)
Jun 3 2025, 12:47 PM
Unknown Object (File)
May 23 2025, 5:17 AM
Unknown Object (File)
May 8 2025, 4:35 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