Hi,
I am parsing a php array to csv using the save() function of this library.
I get an parsing issue, the fields are not parse correctly, when one of the field in my php array contains an comma, which is also the field delimiter in my case.
Here is an example of the CSV output
,"""9","72""",,newsletter,,abos_speedresa,Monsieur,"free travel"
See that the value was 9,72 and it has been strangely quoted!
"free travel" has been correctly parsed with added quote however.
If anyone has an idea how to fix this?
Thanks in advance
Hi,
I am parsing a php array to csv using the save() function of this library.
I get an parsing issue, the fields are not parse correctly, when one of the field in my php array contains an comma, which is also the field delimiter in my case.
Here is an example of the CSV output
,"""9","72""",,newsletter,,abos_speedresa,Monsieur,"free travel"See that the value was 9,72 and it has been strangely quoted!
"free travel" has been correctly parsed with added quote however.
If anyone has an idea how to fix this?
Thanks in advance