News for hackers. Stuff that matters.
Re:A love letter to the CSV format by magicalhippo on Thursday March 27, 2025 @12:55AM (#43490499)
I ended up parsing the XML format instead of the CSV format when handling paste from Excel due to the newlines issue.

CSV seemed so simple but after numerous issues, a cell with both newline and " made me realize I should keep the little hair I had left and put in the work to parse the XML.

It's not great either, with all its weird tags, but at least it's possible to parse reliably.

There are no comments on this comment yet.