Re:Why isn’t there a decent file format for tabular data?
by cestith on Wednesday May 04, 2022 @02:47PM
(#31264321)
It makes more sense to me in these days of ubiquitous encoding of in-band data that it would be easier to edit if we just used tabs and newlines. If you need a tab in your data, the standard could support either \t (requiring \\t if you need a literal backslash followed by a literal 't') or %09 or &09; or \x09 or something.
[ Parent
| on HN ]
Re:Why isn’t there a decent file format for tabular data?
by account42 on Thursday May 05, 2022 @11:04AM
(#31274286)
If you require escaping then you may as well stick with csv - better to have the character that needs to be escaped to be common enough that people will run into it during testing.
Re:Why isn’t there a decent file format for tabular data?
by cestith on Thursday May 05, 2022 @12:38PM
(#31275547)
My actual preference is LTSV. Then all that needs escaping or encoding is a quote since a tab or newline inside the quotes is different from one outside the quotes. And I prefer encoding to escaping generally, since it's easier for someone else to come along and build a fairly naive parser.