tags:

views:

21

answers:

0

The issue: I am writing out some CSV data using "csv::write". Some other software I am using does not read the data correctly, such that the second record of this data will not interpret the double quotes as an escaped quote:

1,"Sometimes my ""name"" is Joe, and sometimes it is not."
2,I might ""like"" jam!

Is there a way I can force the field to be encapsulated like in the first record?