jquery-csv icon indicating copy to clipboard operation
jquery-csv copied to clipboard

I am having problem in parsing a csv data with /" or /' value

Open Sreelakshmigc opened this issue 9 years ago • 1 comments

Hi Evan Plaice,

Great library thank you.

I am using $.csv.toArrays() and my csv data has /" and /' values, that is escape characters as part of it. This is causing CSVDataError: Illegal State [Row:number][Col:number]. Can you please help me fix this.

Regards

Sreelakshmigc avatar Oct 23 '17 07:10 Sreelakshmigc

Following the CSV spec, / is not a valid escape character. Double up the quotes for escaping (ie "" or "").

evanplaice avatar Dec 14 '17 06:12 evanplaice