EncodingErrorHandling

For specifying invalid sequence handling when encoding/decoding

Values

ValueMeaning
strict

Raise EncodingException

replace

Replace bad sequences with placeholder

ignore

Drop bad sequences

Meta