Last year I learned about Byte Order Mark (BOM), and how imports of CSV files generated on Windows should be decoded as “utf-8-sig” instead of “utf-8” when using Python `csv.reader()`.
That lesson saved me a lot of time today.
Last year I learned about Byte Order Mark (BOM), and how imports of CSV files generated on Windows should be decoded as “utf-8-sig” instead of “utf-8” when using Python `csv.reader()`.
That lesson saved me a lot of time today.
If you have a fediverse account, you can quote this note from your own instance. Search https://hachyderm.io/users/mahryekuh/statuses/115503510561893298 on your instance and quote it. (Note that quoting is not supported in Mastodon.)