Jump to content

What is the correct way to encode commas for input into a csv file?


emehrkay

Recommended Posts

If your data may have double quotes in it you will need to handle those too. By converting them to double-double quotes.

 

E.g.:

 

Data: John "The Defender" Johnson, CEO

 

CSV Format: "John ""The Defender"" Johnson, CEO"

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.