Page MenuHomeFreeBSD

iconv: only conditionally use ICONV_SET_DISCARD_ILSEQ
ClosedPublic

Authored by kevans on Feb 22 2022, 5:25 PM.

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