How to import your contacts to iPhone
App is crashing when reading CSV file with values not included in quotes
August 29, 2012Posted by on
I saw some complains about app crashing after pressing “Next” after selecting encoding. The most probable reason is that values in CSV file are not included in quotes. According to CSV standard (RFC 4180) “Each field may or may not be enclosed in double”. Some programs which create CSV file always include fields in quotes, some dont. I checked for Samsung PC Studio and LG PC Suite and they do include all values (even empty) in double quotes. When CSV is created from Excel file, field is included in quotes only if Excel cell contains characters like comma or quote.
So I corrected the app so it can handle CSV files with or without quotes. I submitted update for approval by Apple on 24th of August, so hopefully they will approve it soon.