The CodingFailureMode is used to construct System.IO.TextEncodings,
and specifies how they handle illegal sequences.
Constructors
ErrorOnCodingFailureThrow an error when an illegal sequence is encountered
IgnoreCodingFailureAttempt to ignore and recover if an illegal sequence is encountered
TransliterateCodingFailureReplace with the closest visual match upon an illegal sequence
RoundtripFailureUse the private-use escape mechanism to attempt to allow illegal sequences to be roundtripped.
Instances1Show
Show CodingFailureModeDefined in ghc-internal-9.1003.0 · GHC.Internal.IO.Encoding.Failure