Hacker News new | ask | show | jobs
by dheera 1040 days ago
While we're inventing a CSV 2 standard, can we please get rid of the weird quirks like allowing newline literals inside quoted values? It makes parsing about 5 billion times harder because you cannot use the readline() functions available in various languages to parse CSV.

Newlines in values should be explicitly escaped, e.g.

    foo,2.0,bar,this\nis\na\ntest,blah