New submission from Nikolaus Rath <nikol...@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 register_error(). ----- shouldn't the 'surrogateescape' error handler from http://docs.python.org/3.1/library/os.html#file-names-command-line-arguments-and-environment-variables 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 <rep...@bugs.python.org> <http://bugs.python.org/issue6648> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com