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 loewis
Recipients Neil Muller, benjamin.peterson, effbot, hodgestar, jcsalterego, loewis, pitrou
Date 2009-06-26.01:12:27
SpamBayes Score 0.0008550866
Marked as misclassified No
Message-id <1245978750.2.0.0226173625779.issue6233@psf.upfronthosting.co.za>
In-reply-to
Content
I disagree with this report being classified as release-critical - it is
*not* a regression over 3.0 (i.e. 3.0 already behaved in the same way).
That it is a regression relative to 2.x should not make it
release-critical - we can still fix such regressions in 3.2.

In addition, there is an easy work-around for applications that run into
the problem - just use utf-8 as the output encoding always:

py> e = ET.XML(b"<?xml version='1.0'
encoding='iso-8859-1'?><body>t\xe3t</body>")
py> ET.tostring(e,encoding='utf-8')
b'<body>t\xc3\xa3t</body>'
History
Date User Action Args
2009-06-26 01:12:30loewissetrecipients: + loewis, effbot, pitrou, benjamin.peterson, hodgestar, Neil Muller, jcsalterego
2009-06-26 01:12:30loewissetmessageid: <1245978750.2.0.0226173625779.issue6233@psf.upfronthosting.co.za>
2009-06-26 01:12:28loewislinkissue6233 messages
2009-06-26 01:12:28loewiscreate