Message300996
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 ... |
|
Date |
User |
Action |
Args |
2017-08-29 17:45:53 | Vyacheslav.Rafalskiy | set | recipients:
+ Vyacheslav.Rafalskiy |
2017-08-29 17:45:53 | Vyacheslav.Rafalskiy | set | messageid: <1504028753.39.0.976845207061.issue31303@psf.upfronthosting.co.za> |
2017-08-29 17:45:53 | Vyacheslav.Rafalskiy | link | issue31303 messages |
2017-08-29 17:45:53 | Vyacheslav.Rafalskiy | create | |
|