[issue6233] ElementTree (py3k) doesn't properly encode characters that can't be represented in the specified encoding

Neil Muller report at bugs.python.org
Sun Jun 7 23:47:43 CEST 2009


Neil Muller <drnlmuller+bugs at gmail.com> added the comment:

Simple possible patch uploaded

This doesn't give the expected answer for the test above, but does work
when starting from an XML file in utf-8 encoding. I still need to
determine why this happens.

----------
keywords: +patch
Added file: http://bugs.python.org/file14223/issue6233_py3k.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6233>
_______________________________________


More information about the Python-bugs-list mailing list