Get the latest tech news

CSVs Are Kinda Bad. DSVs Are Kinda Good


I would simply use delimiter characters to delimit data.

🎉 And just like that, we’ve got data going in and out of our writer and reader that has a bunch of weird stuff like quotes and newlines and carriage returns and we don’t need to care! For whatever reason, the Federal Election Commission in the United States also decided that they needed to ditch the comma, but they landed on using ASCII character 28 which is supposed to be used as a file separator not a field saparator. Anyway, the FEC also has a tool called fs2comma.exe that turns it back into a CSV format, and a couple of years I filed a FOIA request and got the source code.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of csvs

csvs

Photo of dsvs

dsvs

Related news:

News photo

Show HN: Source Code for CSVs