Skip to content

gh-67864: Add support of UnicodeTranslateError in standard error handlers#121212

Open
serhiy-storchaka wants to merge 1 commit intopython:mainfrom
serhiy-storchaka:translate-error-handlers
Open

gh-67864: Add support of UnicodeTranslateError in standard error handlers#121212
serhiy-storchaka wants to merge 1 commit intopython:mainfrom
serhiy-storchaka:translate-error-handlers

Conversation

@serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Jul 1, 2024

Changed error handlers are: 'xmlcharrefreplace', 'namereplace' and 'surrogatepass'. Error handlers 'strict', 'ignore', 'replace', and 'backslashreplace' already supported it.

All standard error handlers except 'surrogateescape' now support translating.


📚 Documentation preview 📚: https://cpython-previews--121212.org.readthedocs.build/

…r handlers

Changed error handlers are: 'xmlcharrefreplace', 'namereplace' and
'surrogatepass'.  Error handlers 'strict', 'ignore', 'replace', and
'backslashreplace' already supported it.

All standard error handlers except 'surrogateescape' now support
translating.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant