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