Skip to content

CSV file created with Excel for Mac fails #44

Description

@GoogleCodeExporter
I tried importing the Excel file attached with the following code:

reader.onload = function(e){
  var csv = e.target.result;
  var csvArr = $.csv.toArrays(csv);
}

resulting in 'Error: CSVDataError: Illegal Data [Row:1][Col:1]'.

I noticed that most scripts use a regex like 'csv.split(/\r\n|\n/);', which 
isn't working for this file. But the regex 'csv.split(/\r/g);' is. Don't know 
if that is in any way related to the error above, but just in case... 

Original issue reported on code.google.com by dennishu...@me.com on 31 Aug 2014 at 9:06

Attachments:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions