This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author malin
Recipients docs@python, malin
Date 2019-09-08.14:14:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1567952070.11.0.225789110598.issue38056@roundup.psfhosted.org>
In-reply-to
Content
Text descriptions about `Error Handlers` are not very friendly to novices.
https://docs.python.org/3/library/codecs.html#error-handlers

For example:

    'xmlcharrefreplace'
    Replace with the appropriate XML character reference (only for encoding).  Implemented in :func:`xmlcharrefreplace_errors`. 

    'backslashreplace'
    Replace with backslashed escape sequences. Implemented in :func:`backslashreplace_errors`.

    'namereplace'
    Replace with ``\N{...}`` escape sequences (only for encoding).  Implemented in :func:`namereplace_errors`.

Novices may not know what these are.
Giving some examples may help the reader to understand more intuitively.
The effect picture is attached.

I picked two characters:
ß  https://www.compart.com/en/unicode/U+00DFhttps://www.compart.com/en/unicode/U+266C
History
Date User Action Args
2019-09-08 14:14:30malinsetrecipients: + malin, docs@python
2019-09-08 14:14:30malinsetmessageid: <1567952070.11.0.225789110598.issue38056@roundup.psfhosted.org>
2019-09-08 14:14:30malinlinkissue38056 messages
2019-09-08 14:14:29malincreate