Re:ASCII and Unicode quotation marks
by coldtea on Wednesday September 13, 2017 @07:03PM
(#15243554)
There is actually an ASCII character that doesn't appear in strings, and is meant to be used as such a separator. Actually two of them, record (30) and unit separator (31).
[ Parent
| on HN ]
Re:ASCII and Unicode quotation marks
by slavik81 on Wednesday September 13, 2017 @09:15PM
(#15244235)
Sadly, eventually someone will want to enter one document as a field in another document and then you end up needing escaping anyways. Using a rare symbol for the delimiter would still be nice for typing documents by hand, but it would have to be available on modern keyboards to be convenient.
>Sadly, eventually someone will want to enter one document as a field in another document and then you end up needing escaping anyways.
Yes, but CSV files are record collections, they are not in 99% of cases recursive like that.
If a column contains escaped secondary documents, there's something wrong.