Forums | Admin

Discussion Forums: open-discussion

Start New Thread Start New Thread
Message: 93834
BY: Benjamin BAROUKH (ben_bar)
DATE: 2010-06-10 15:10
SUBJECT: RE: :row_sep not taken into account ???

 

Hi,

I tried passing a UTF8 encoded file and specified "U" for the encoding parameter in FasterCSV.

I noticed sometimes the messages says:
FasterCSV::MalformedCSVError (Unquoted fields do not allow \r or \n (line 1).). This is when my last header does not have quotes. When it does, fasterCSV just throws MalformedCSVError without detail.

The only \r\n in the file are the ends of row.

By the way, does fasterCSV supports ANSI (default windows encoding) in any way? I have tried and it seems fine (with \n EoL though).

Thanks.


Thread View

Thread Author Date
:row_sep not taken into account ???Benjamin BAROUKH2010-06-10 10:39
      RE: :row_sep not taken into account ???James Gray2010-06-10 14:35
            RE: :row_sep not taken into account ???Benjamin BAROUKH2010-06-10 15:10
                  RE: :row_sep not taken into account ???James Gray2010-06-10 16:03

Post a followup to this message