CSV 1.1 – CSV Evolved (for Humans)
31–40 of 81 posts
Re: CSV 1.1 – CSV Evolved (for Humans)
#32This is not VCS friendly. Resize any column and you have to rewrite 99% of the file, tracking changes becomes hell on earth.
Re: CSV 1.1 – CSV Evolved (for Humans)
#33To get comma separated CSVs to show properly in Excel we have to mess around with OS language settings. CSV as a format should have died years ago, it's a shame so many apps/services only export CSV files. Many developers (mainly US/UK based) are probably not aware of how much of a headache they inflict on people in other countries by using CSV files.
Re: CSV 1.1 – CSV Evolved (for Humans)
#34CSV is hell, glad to see improvements. Some idiot somewhere decided that Comma Separated Values in certain locales should be based on semicolons (who would have thought files would be shared across country borders!?), so when we open CSV files that are actually comma separated all the information is in the first cell (until a semicolon appears). To get comma separated CSVs to show properly in Excel we have to mess ar…
Re: CSV 1.1 – CSV Evolved (for Humans)
#35Is it slightly more verbose? Sure, but why does it matter? Having to quote all strings is really not a big deal.
Re: CSV 1.1 – CSV Evolved (for Humans)
#36There are a ton of problems here: * From the documentation "No quotes needed for values ... Use dual quotes ... Use triple quotes" * You haven't solved the problem of describing what the columns are. In fact, its worse because you are encouraging people to put units in the field * Spaces matter! What if the data is literally " Word " vs "Word". This format makes them both the same. * For some reason, the header row i…
It's not clear to me that it's possible to convert this to a standard CSV; it can't guess the header and guessing whether a column contains units (consistent units?) is asking for trouble.
More pragmatically I can't share these with other people because they're almost like a csv, but incompatible.
It's great to try to make CSV more readable (I like the leading whitespace, but it'd be finicky to maintain with simple text editors), but not worth the technical risk of format confusion.
Re: CSV 1.1 – CSV Evolved (for Humans)
#37I work in the public sector, we use a lot of CVS, even to non tech savvy people.
I’ve never heard the use case for this project.
Now that might not matter, but you’re breaking CVS to fulfill a nonexistent use case.
Re: CSV 1.1 – CSV Evolved (for Humans)
#38Earlier quoted context omitted.
To your point it's hard to see how the referenced article qualifies as a standard. It does not deal with escape characters or missing values, two places where CSV implementations tend to vary in random ways.
I've recently been dealing with some CSV data exported from Excel. One of the columns has lengths measured in inches or feet. A column that says 14" exports as , '"14"""', It feels downright silly to me.
14"
would be ,"14""",
And I verified that all four of Excel's CSV varieties write this, but this is also what RFC CSV writers would emit. Not saying you can't pick up oddities elsewhere, but as stated, it's not that bad. (Not that I condone use of CSV… it's an awful format.)Re: CSV 1.1 – CSV Evolved (for Humans)
#39This is not VCS friendly. Resize any column and you have to rewrite 99% of the file, tracking changes becomes hell on earth.
What do you mean by "resize any column"?
Now… most diff tools also have options to ignore whitespace changes, for cases like this.