Closed GoogleCodeExporter closed 9 years ago
Looks like all the .xml files in tests/illformed/chardet are failing.
Original comment by war...@gmail.com
on 18 Jan 2012 at 3:22
Note too that test_unicode_2 fails when sys.getfilesystemencoding() is not
utf-8. It can be ANSI_X3.4-1968 (aka ASCII) in the Ubuntu schroot build
environments. In that case, the open() call in _open_resource() throws a
UnicodeEncodeError instead of the expected IOError.
Original comment by war...@gmail.com
on 18 Jan 2012 at 7:39
Fixed in r680. This was being caused because the encoding reported by chardet
was a str instead of a unicode object. Thanks for reporting this!
I've created issue 326 to track the UnicodeEncodeError you mentioned in comment
2.
Original comment by kurtmckee
on 5 Feb 2012 at 12:09
Original issue reported on code.google.com by
war...@gmail.com
on 18 Jan 2012 at 3:19Attachments: