Bug report #372
Parsing Error in Add Delimted Text Plugin
|Affected QGIS version:||Regression?:||No|
|Operating System:||OS X||Easy fix?:||No|
|Pull Request or Patch supplied:||Resolution:||wontfix|
|Crashes QGIS or corrupts data:||Copied to github as #:||10431|
The Delimited Text Plugin does not recognize the eol in the text file being imported. Parsing recognizes the delimiter but does not break lines. The import shows only one continuous line of text with delimiters correctly identified but does not break at eol.
Changing the delimiter has no affect.
#2 Updated by Gavin Macaulay - about 14 years ago
The problem is that the end of line character is a CR, which qgis doesn't recognise (unix uses LF and windows CRLF, which qgis does recognise). Qgis uses some Qt code for reading the lines, and it apparently never has supported this old Mac style eol character (and is unlikely to do so - see http://lists.trolltech.com/qt-interest/2006-09/msg00961.html).
I'm not familiar with Macs, but you may find a utility on your mac somewhere that will convert the file from mac eol to unix or windows eol. On my unix computer, there's something called mac2unix that will do the job.