Is it possible/legal to somehow encode CR/LF characters into a CSV file?
(as part of a CSV standard?)
If so how should i encode CR/LF?
Yes, you need to wrap in quotes:
"some value over two lines",some other value
From this document, which is the generally-accepted CSV standard:
Fields containing line breaks (CRLF), double quotes, and commas should be enclosed in double-quotes
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With