GNOME Bugzilla – Bug 648354
Opening a .csv file with null characters fails silently
Last modified: 2011-04-22 08:04:22 UTC
Created attachment 186409 [details] sample .csv with null characters Cannot import a file with null characters, no errors. I am exporting from the popular surveymonkey.com service. The bug is probably a problem with their exporter which is producing null characters. But it would be nice if gnumeric printed an error or something.
A .csv file with null characters? If the file contains null character then it can't be a .csv file. (But I agree that we should present some kind of warning if we stop the import early because of a null character.)
When stf_open_and_read reads the file, it marks the end of the buffer with a null. Later we consider any NULL we encounter as an end of buffer marker.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
You guys are very fast! Thanks!