News for hackers. Stuff that matters.
Re:The CSV Virtual Table by makeitdouble on Wednesday March 09, 2022 @01:36AM (#30611554)
Tangently, I didn't about the double quotes rules of the rfc4180

> If fields are not enclosed with double quotes, then double quotes may not appear inside the fields.

Feels to me like a lot of manual implementations will break this assumption if they naively only try to deal with line breaks and delimiter escaping.

Either way, CSV is fraught enough format that I wouldn't try to ingest files of from unknown sources or from unknown generators.

Re:The CSV Virtual Table by fulafel on Wednesday March 09, 2022 @02:40AM (#30611904)
Note that the interpretation of CSV files in the wild is all over the map, that RFC is not a very high authority on how things actually work with CSV processing in software you encounter.
Re:The CSV Virtual Table by CRConrad on Thursday March 10, 2022 @09:11AM (#30627062)
What to use in stead: https://news.ycombinator.com/item?id=30626573

Should fix all those issues, AFAICS.

So of course abloslutely nobody uses it. :-(