-
Notifications
You must be signed in to change notification settings - Fork 255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apostrophe in CSV file #71
Comments
Okay, interesting. I did some more digging and found out this issue exists with certain characters:
|
Is there a fix or hack to avoid this? I have a .csv which I can't parse beyond the first apostrophe, when I try to use: rows = [NSMutableArray arrayWithContentsOfCSVURL:pathToFile]; Thanks! |
This is how I managed to force encoding, bit awkward but works:
However I haven't yet been able to fix input syntax problems while parsing, it fails at first (unexpected) unicode character. Still trying, but considering going back to old parser. |
Maybe I'm missing something, but I'm parsing a CSV file (from Excel). Everything seems to work well - including parsing fields which contains commas and are embedded in "...": - until the parser comes across the first semicolon (the field is not inside "..."). The parser stops as if it was looking for a 2nd semicolon, which doesn't exist in the file. How do I solve for this? (Excel doesn't see the need to embed cells with semicolons inside "..." when exporting.)
The text was updated successfully, but these errors were encountered: