Re:A love letter to the CSV format
by gpvos on Thursday March 27, 2025 @10:19AM
(#43493945)
Thanks. So I guess the easy compatible solution is to always quote the first item on the first line when writing CSV. Good to know. (Checking if the item starts with ID is more work. Possibly quote all items on the first line for simplicity.) (Reading SYLK is obviously irrelevant, so accepting unquoted ID when reading is the smarter way to go and will actually improve compatibility with writers that are not Excel. Also it takes no work.)
[ Parent
| on HN ]
There are no comments on this comment yet.