From: Salil Gaikwad Date: 2009-03-03T22:24:30+09:00 Subject: double quote problem in CSV Hi all i am using following method to read the csv file and i want to save it into the database. @parsed_file=CSV.open("filename.csv",'r',"#{col_sep}") @parsed_file.each_with_index do |row, index| // more code here end end my problem is i am unable to read data correctly when my data-fields are as follows "abc", "sdfds"string"ddsfdsf", "xyz", "pqr" it gives me error illegal file format at above line. Regards Salil -- Posted via http://www.ruby-forum.com/.