When importing a CSV file with a products, where one (or several) fields have line endings in them, then PHP build-in fgetcsv function fails to do that and is considering line ending inside a field value (even if field value is wrapped with double-quotes) as record end.
I'm thinking, that we should switch to alternative CSV file parser to be able to parse any kind of CSV files without problems. Googling a bit about this subject I've found several unhappy users:
and a link to decent CSV parser - https://code.google.com/p/parsecsv-for-php/. Parser itself wasn't changed since 2008 year, but that doesn't matter much, since CSV parsing rules haven't changed either .
I'm open to suggestions and if there is an intelligent CSV parser out there, that follows ALL rules (see http://en.wikipedia.org/wiki/Comma-separated_values#Toward_standardization). And surely PHP's built-in CSV parser is not following all of them, which is bad.