3 ms·
> Python 2's csv can't parse those at all, can it? Nope, not without re-encoding to UTF-8 before parsing (learned that out the hard way and found out it's easi
by masklinn 10y ago
> Python 2's csv can't parse those at all, can it?
Nope, not without re-encoding to UTF-8 before parsing (learned that out the hard way and found out it's easier to just take excel files as input).
P2's CSV module works byte-based, and basically only handles ASCII-compatible supersets, assuming your special characters (quote chars, field and record separators) are straight ASCII.