Wrap content containing a comma, double quote or line break in double quotes. To include a literal double quote inside a quoted field, write two consecutive double quotes.
Use the spreadsheet exporter where practical
A spreadsheet can quote the field for you when exporting CSV. Check the raw file afterward to confirm the intended text stays in the content column.
Verify one CSV record with punctuation
- Create a row with filename table-a and content Table A, by the window.
- Export UTF-8 CSV. In a text editor, confirm the content field is written as "Table A, by the window".
- Import it and confirm there is one valid entry. Generate the image and read back the comma and the rest of the phrase.
If the importer reports an unclosed quote
Check both ends of the quoted field and double any internal quotes. For a value with a line break, keep that line break inside the quoted field.
Frequently asked questions
Will a quoted line break add a second QR code?
A line break inside a correctly quoted CSV field belongs to that value. In direct-paste mode, each non-empty line is a separate entry.