Message89718
| 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>' |
|