Open m-rieke opened 6 years ago
Hmm yes, good point. We could use some more unit testing for unicode related pitfalls existing in Python 2. I don't want to deprecate Python 2 support just yet, since many people still use it. Consider updating to Python 3 if you can (the code snippet works in Py3). I will keep this open as a bug, but unless someone wants to come up with a PR to fix I won't prioritize this.
(The csv
module documentation has an example using a generator function to make this work (however this is probably lossy).
There is currently no way on using unicode in csv, this was working before 0.6.0:
With 0.6.0 there is an error:
I think it is because the default csv package does not support utf-8