Skip to content
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

suggest utf-8 encoding for csv_example #124

Open
LeiYangGH opened this issue Aug 17, 2021 · 0 comments
Open

suggest utf-8 encoding for csv_example #124

LeiYangGH opened this issue Aug 17, 2021 · 0 comments

Comments

@LeiYangGH
Copy link

LeiYangGH commented Aug 17, 2021

I'm using a Chinese win10 and when running the csv_example got 'gbk cannot encode... error', setting encoding='utf-8' optional parameter to open function can prevent this error.
So I suggest update sample code using 'utf-8', or 'utf-8-sig' for csv with BOM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant