Page MenuHomeFreeBSD

iconv_std: complete the //IGNORE support
ClosedPublic

Authored by kevans on Feb 22 2022, 5:26 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jul 5, 9:05 PM
Unknown Object (File)
Mon, Jun 30, 3:20 PM
Unknown Object (File)
Sun, Jun 29, 6:15 PM
Unknown Object (File)
Sun, Jun 29, 4:57 AM
Unknown Object (File)
Thu, Jun 26, 5:32 PM
Unknown Object (File)
Thu, Jun 26, 7:46 AM
Unknown Object (File)
Sat, Jun 14, 12:29 PM
Unknown Object (File)
Jun 9 2025, 9:46 AM
Subscribers

Details

Summary

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

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
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.