Quantcast
Viewing all articles
Browse latest Browse all 30

re: Why you shouldn't open .csv files in Excel

Hmm...  Wish I had found this earlier.  :-(

There is a specification for CSV.  It's called plain text.  Text is text.  MS should not be trying to treat it as anything other than text.  Even when you tell Excel all the fields are text fields it still ends up modifying some of the values.

I agree with the last person.  Where is the bloody off switch.  That's all that's needed.  Treat everything as text and all is well.  Adding/removing quotes around a field is not a big deal because good CSV parsers can handle that.  If in doubt, look at the source version of PHP's.  It's a simple nested loop.  But, stripping leading zeroes, changing date formats, etc., is a BIG problem.

This is a bug in Excel.


Viewing all articles
Browse latest Browse all 30

Trending Articles