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)
Thu, Nov 21, 6:47 AM
Unknown Object (File)
Sat, Nov 16, 7:57 AM
Unknown Object (File)
Sat, Nov 16, 6:53 AM
Unknown Object (File)
Mon, Nov 11, 3:02 AM
Unknown Object (File)
Wed, Oct 30, 3:08 AM
Unknown Object (File)
Oct 17 2024, 4:06 PM
Unknown Object (File)
Oct 10 2024, 12:33 AM
Unknown Object (File)
Oct 5 2024, 12:03 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.