3 ms·
What is proper escaping for CSV?
by tonyedgecombe 10y ago
What is proper escaping for CSV?
- userbinator 10y agoRFC4180.
- gpvos 10y agoThe problem is that not all tools agree on this one, but: lines are separated by newlines, items are separated by commas. An item can be quoted (and this must be done if it contains a newline, comma, or double quote) by surrounding them with double quotes. Inside such quoted items, double quotes can be escaped by doubling them.