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?
I don't think it's part of the standard (if there even is one), but you could use standard C-style escaping, i.e. encode \r\n.
Keep in mind, however, that if you do that you should also encode the escape character -- i.e. \ yields \ after decoding.