File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,9 +45,13 @@ \section{\module{codecs} ---
4545
4646 Possible values for errors are \code {'strict'} (raise an exception
4747 in case of an encoding error), \code {'replace'} (replace malformed
48- data with a suitable replacement marker, such as \character {?}) and
48+ data with a suitable replacement marker, such as \character {?}),
4949 \code {'ignore'} (ignore malformed data and continue without further
50- notice).
50+ notice), \code {'xmlcharrefreplace'} (replace with the appropriate XML
51+ character reference (for encoding only)) and \code {'backslashreplace'}
52+ (replace with backslashed escape sequences (for encoding only)) as
53+ well as any other error handling name defined via
54+ \function {register_error()}.
5155
5256In case a search function cannot find a given encoding, it should
5357return \code {None}.
You can’t perform that action at this time.
0 commit comments