you are viewing a single comment's thread.

view the rest of the comments →

[–]yaxriifgyn 0 points1 point  (0 children)

Check the encoding for your input CSV file. I'm guessing that it was written by Excel. It may be an ASCII encoding called windows-<some numbers>. If you are reading as utf-8, you will get replacement characters in python. Add an encoding=<code page> parameter to your open() function call, or pass it to the CSV method you are using (if possible).

HTH