[New-bugs-announce] [issue6648] codecs documentation does not mention surrogateescape

Nikolaus Rath report at bugs.python.org
Wed Aug 5 17:48:49 CEST 2009

New submission from Nikolaus Rath <Nikolaus at rath.org>:

On http://docs.python.org/3.1/library/codecs.html it says that

Possible values for errors are 'strict' (raise an exception in case of
an encoding error), 'replace' (replace malformed data with a suitable
replacement marker, such as '?'), 'ignore' (ignore malformed data and
continue without further notice), 'xmlcharrefreplace' (replace with the
appropriate XML character reference (for encoding only)) and
'backslashreplace' (replace with backslashed escape sequences (for
encoding only)) as well as any other error handling name defined via

shouldn't the 'surrogateescape' error handler from
be mentioned here as well?

assignee: georg.brandl
components: Documentation
messages: 91321
nosy: Nikratio, georg.brandl
severity: normal
status: open
title: codecs documentation does not mention surrogateescape
type: behavior
versions: Python 3.1

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list