I’m hoping someone out there can help me troubleshoot a strange problem
that I’m experiencing with CSV files.
I download a file, in CSV format, from a website and when I try to parse
with CSV and Faster CSV I get the following error.
get_row': CSV::IllegalFormatError (CSV::IllegalFormatError) from /usr/local/lib/ruby/1.8/csv.rb:556:ineach’
parse' from /usr/local/lib/ruby/1.8/csv.rb:311:inopen_reader’
from /usr/local/lib/ruby/1.8/csv.rb:85:in `open’
But if I open the CSV file in TextMate, select all of the contents,
paste and save that content into a new CSV file, created with TextMate,
the CSV parser can process it just fine.
Anyone have any idea about what might be causing this?