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 uis
Recipients amaury.forgeotdarc, flox, uis
Date 2011-01-11.13:33:53
SpamBayes Score 0.09892979
Marked as misclassified No
Message-id <>
I would suggest adding an additional except branch to (at least) the following functions of
* _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:55uissetrecipients: + uis, amaury.forgeotdarc, flox
2011-01-11 13:33:55uissetmessageid: <>
2011-01-11 13:33:53uislinkissue9692 messages
2011-01-11 13:33:53uiscreate