-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failing to detect header row on unicode csv file #74
Comments
Unfortunately A possible option could be to use https://github.com/ryanhiebert/backports.csv, which is a backport of the Python 3 version of |
Thanks for the reply. Though I'm still fairly new to these encodings, but you pointed me to the right direction, and it seems my problem was not with csv module, but rather with opening and reading a file. Once I opened file with correct encoding, csv module had no problems to read it. |
Though after opening and reading file successfully, I started to get "UnicodeEncodeError":
but it works fine with backports.csv:
|
I've released |
Awesome, thanks a lot! |
Using Sniffer class to detect if file contains a header row fails with:
The same error, that csv module from standard lib throws.
The text was updated successfully, but these errors were encountered: