Page MenuHomeFreeBSD

iconv_std: complete the //IGNORE support
ClosedPublic

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

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.