Marijke Luttekes on Nostr: Last year I learned about Byte Order Mark (BOM), and how imports of CSV files ...
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.
#Python
Published at
2025-11-06 15:41:43 UTCEvent JSON
{
"id": "6aefc6276c6471c1299f7803c09f86ed7bca9a32b02f62fd07003979cbb14c4f",
"pubkey": "6e9977f90a132fc88e1fb1b105116670e1a9a347fc985191cfac56de72e10221",
"created_at": 1762443703,
"kind": 1,
"tags": [
[
"t",
"python"
],
[
"proxy",
"https://hachyderm.io/users/mahryekuh/statuses/115503510561893298",
"activitypub"
],
[
"client",
"Mostr",
"31990:6be38f8c63df7dbf84db7ec4a6e6fbbd8d19dca3b980efad18585c46f04b26f9:mostr",
"wss://relay.ditto.pub/"
]
],
"content": "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()`.\n\nThat lesson saved me a lot of time today. \n\n#Python",
"sig": "35bf5cd24c1c6bec6d37caa96abe49df1dc394515071e9292c8ead984a07239f1588b0fbda3aade62b11e671b39b73dba4beb863f58c5deccafcb8755fb1dde4"
}