Author Vyacheslav.Rafalskiy
Recipients Vyacheslav.Rafalskiy
Date 2017-08-29.17:45:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1504028753.39.0.976845207061.issue31303@psf.upfronthosting.co.za>
In-reply-to
Content
In Python 3.5.4 and 3.6.2, both on Windows and Linux, parsing a manifestly correct xml file like:

xml.etree.ElementTree.parse('bad_file.xml')

raises:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc3 in position 1023: invalid continuation byte

Any other Python version I tried works fine, including 2.7.13, 3.5.2 ...
History
Date User Action Args
2017-08-29 17:45:53Vyacheslav.Rafalskiysetrecipients: + Vyacheslav.Rafalskiy
2017-08-29 17:45:53Vyacheslav.Rafalskiysetmessageid: <1504028753.39.0.976845207061.issue31303@psf.upfronthosting.co.za>
2017-08-29 17:45:53Vyacheslav.Rafalskiylinkissue31303 messages
2017-08-29 17:45:53Vyacheslav.Rafalskiycreate