-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
What steps will reproduce the problem?
1.Make a CSV file
2. Save it using Mac formatted ends of lines.
3. Load it up.
What is the expected output? What do you see instead?
I expect it to work. Everything works great when using windows or linux
formatted CSV files. When using Mac files, I get CSVDataError: Illegal state
[Row:1].
What version of the product are you using? On what operating system?
This library has always acted this way. I hadn't gotten around to filing this
particular bug report yet. But I would like it fixed if possible, so that I
don't have to make my users worry about end of line formatting. So even in
0.71, this happens.
Please provide any additional information below.
Maybe the weird mac formatting is not in the official spec for CSV, but it
would be nice if we could use it anyways. Why create the extra work for my
end-users?
This test.csv will fail to load. This test2.csv is identical, except for it
uses windows end of line formats. A good text editor doesn't show the
difference. The actual difference is that Mac format doesn't use line feed
characters, and this causes jquery-csv to fail. This also messes up
Notepad.exe.
Original issue reported on code.google.com by Chad.R.B...@gmail.com
on 30 May 2013 at 1:06
Attachments: