News for hackers. Stuff that matters.
Re:Excel: Error when CSV file starts with “I” and “D” by hasenj on Wednesday July 06, 2016 @02:32AM (#12041528)
Was it implemented before the generic CSV import was implemented?

It seems like if parsing fails it should throw an exception and fallback to regular csv parsing.

Am I missing something?

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
Re:Excel: Error when CSV file starts with “I” and “D” by cm2187 on Wednesday July 06, 2016 @03:27AM (#12041698)
Another bug with CSV files is that opening a CSV file triggers a full recalculation, even if the calculations are set to manual. This is clearly a wrong behaviour.
Re:Excel: Error when CSV file starts with “I” and “D” by Piskvorrr on Wednesday July 06, 2016 @06:56AM (#12042282)
Nope - just no longer admitting to it. Had to redo a bunch of exports because of this recently.