Page MenuHomeFreeBSD

iconv_std: complete the //IGNORE support

Authored by kevans on Feb 22 2022, 5:26 PM.
Referenced Files
Unknown Object (File)
Mar 3 2024, 8:37 PM
Unknown Object (File)
Jan 31 2024, 1:29 AM
Unknown Object (File)
Jan 10 2024, 10:58 PM
Unknown Object (File)
Dec 23 2023, 12:48 AM
Unknown Object (File)
Dec 17 2023, 8:01 AM
Unknown Object (File)
Dec 2 2023, 9:29 PM
Unknown Object (File)
Dec 2 2023, 8:00 AM
Unknown Object (File)
Dec 2 2023, 8:00 AM



Previously, it would only ignore failures due to csmapper conversion
failure. It may be the case that the input string contains invalid
sequences that also need to be ignored.

A good example of //IGNORE application is sanitizing user- or remotely-
specified strings that are expected to be UTF-8; perhaps as part of a
pipeline that will feed the result into a system less tested against or
tolerant of illegal UTF-8 sequences.

Sponsored by: Klara, Inc.

Diff Detail

rG FreeBSD src repository
Lint Not Applicable
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Aug 11 2022, 4:44 PM
This revision was automatically updated to reflect the committed changes.