| Message: 93837 |
 |
BY: James Gray (bbazzarrakk) DATE: 2010-06-10 16:03 SUBJECT: RE: :row_sep not taken into account ??? It should definitely work with an unquoted \r\n. If does when I test locally:
>> require "rubygems"
=> true
>> require "faster_csv"
=> true
>> FCSV.parse("a,b,c\r\n1,2,3\r\n", :headers => true, :encoding => "U").to_a
=> [["a", "b", "c"], ["1", "2", "3"]]
I see you are setting the quote_char and col_sep. What's in those variables? I would recommend removing all settings where the defaults work, to decrease chances of introducing an incompatibility.
James Edward Gray II | |