Message126005
I would suggest adding an additional except branch to (at least) the following functions of ElementTree.py:
* _encode,
* _escape_attrib, and
* _escape_cdata
The except branch could look like:
except (UnicodeDecodeError):
return text.decode( encoding ).encode( encoding, "xmlcharrefreplace") |
|
Date |
User |
Action |
Args |
2011-01-11 13:33:55 | uis | set | recipients:
+ uis, amaury.forgeotdarc, flox |
2011-01-11 13:33:55 | uis | set | messageid: <1294752835.17.0.0612595600447.issue9692@psf.upfronthosting.co.za> |
2011-01-11 13:33:53 | uis | link | issue9692 messages |
2011-01-11 13:33:53 | uis | create | |
|