3 ms·
Strong agree. TSV is better than CSV always (unless you need to interface with an external system that doesn't accept it). For those not aware, TSV and CSV dif
by shock-value 5y ago
Strong agree. TSV is better than CSV always (unless you need to interface with an external system that doesn't accept it).
For those not aware, TSV and CSV differ by more than just the delimiting character. TSV has a dead-simple specification: https://www.iana.org/assignments/media-types/text/tab-separated-values https://www.iana.org/assignments/media-types/text/tab-separa.... CSV does not have a standard spec and implementations differ quite a bit, but often in subtle ways.
- segmondy 5y agoThere's no difference between TSV and CSV but the separator, most good libraries allow you to use any character you wish as the separator. Here's the RFC for CSV - https://datatracker.ietf.org/doc/html/rfc4180 https://datatracker.ietf.org/doc/html/rfc4180
- Hasnep 5y agoThe other key difference is instead of having complex quoting rules, TSV just disallows the tab character in the data.
- shock-value 5y ago> There's no difference between TSV and CSV but the separator This is not true, though almost everyone (understandably) assumes this based on the names.