| Message: 90101 |
 |
BY: Thibaut Barrère (thbar) DATE: 2009-09-04 18:52 SUBJECT: Row preprocessing ? Hi,
I was wondering: is there some built-in way (converters maybe ?) to preprocess the content of each row before it gets parsed by FasterCSV ?
My content hasn't got any quotes in it:
id;name
7;Bob David
8;John "Amazing" Bowie
Until today I had no lines with double quotes in there, it's a new use case. The line with id 8 causes an Illegal quoting.
I tried setting :quote_char to nil but it needs a one-char string.
Is there some way to achieve this internally, or should I just preprocess the quote before myself (I don't need it at all) ?
thanks for your support (and work on FasterCSV),
Thibaut
--
http://www.learnivore.com | |