Re:Excel: Error when CSV file starts with “I” and “D”
by mark-r on Wednesday July 06, 2016 @10:49AM
(#12043405)
I suspect the parsing for CSV and the parsing for SYLK are completely different pieces of code, and the appropriate one gets called once a determination of the file format is made. This would be in an upper level where you wouldn't want to put format-specific behavior. The problem then is that the code determining the format doesn't dig far enough into the file to make sure it's valid before sending it to the parser.
Re:Excel: Error when CSV file starts with “I” and “D”
by ygra on Wednesday July 06, 2016 @02:52AM
(#12041580)
That's probably how it has been fixed. I cannot test right now, but since the article doesn't apply to newer versions of Office, I guess they are no longer susceptible to that.
Re:Excel: Error when CSV file starts with “I” and “D”
by moobs on Wednesday July 06, 2016 @02:56AM
(#12041594)
This is so funny, I was literally fixing this bug last night. Still applies to office 2013
It seems like if parsing fails it should throw an exception and fallback to regular csv parsing.
Am I missing something?