Skip to content

Comment on ASCII Delimited Text – Not CSV or Tab Delimited Textparent

Comments

No, no one has ever used that character because it can't be typed or displayed which is the entire point of the thread you're replying to

Sometimes the content of a cell in e.g. a CSV file will be another CSV file. This inevitably happens with pretty much every format, whether CSV, TSV, JSON, etc, so you'll need some sort of quoting rule no matter what you do.

But that’s my point. The person I responded to was objecting that they might want to use control characters like ASCII 30 as values in a field. As you and I agree, that will never happen.

What about the cases where people don’t want to use it but still do?

People C&P values from a source that includes those characters and they‘ll break your export file

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.