News for hackers. Stuff that matters.
Re:A Sketch of the Biggest Idea in Software Architecture (2022) by kazinator on Monday April 22, 2024 @11:55AM (#40115562)
The CSV RFC is oriented toward CSV being a MIME type. The line separator in CSV is required to be CR-LF. This can occur in the middle of a quoted datum, and the spec doesn't say whether it represents an abstract newline character or those two literal bytes.
Re:A Sketch of the Biggest Idea in Software Architecture (2022) by rusk on Monday April 22, 2024 @01:20PM (#40116511)
My understanding was this would terminate the record unless enclosed by “encapsulators”, whereupon indeed it would be interpreted as literal text.

Though defined as CRLF in the RFC, presumably for interoperability, you are typically free to define alternative record separators, as well as field separators and encapsulators, and most modern implementations would be smart enough to work with this.