Have you tried pre-processing your csv file using the dos2unix utility to clean up the nasty ^M's?
In reply to Re: Parsing a text file by toolic in thread Parsing a text file by calmthestorm