Export to CSV is not placing quotes around all text fields

I'm attempting to export the following to a CSV.


User uploaded file

I'm getting mixed results for quotes on the CSV export. Note column 2 on the output. Some lines have the text field properly quoted and others are not. This is causing my import process in other programs to fail.

User uploaded file

Posted on Nov 19, 2015 8:48 AM

Reply
9 replies

Nov 19, 2015 11:14 AM in response to ConnorGabe

So the question to the OP is, can in (the inch abbreviation) be used instead of " ?


If so then problem solved, with no more fuss.


If not then have to resort to workarounds that involve varying degrees of pain.


(CSV in its many flavors is notorious for difficulties like this, with all sorts of apps. None, unfortunately, can get it perfect.)


SG

Nov 19, 2015 1:29 PM in response to CGraffix

Looking at the CSV image, not all quotes are quotes. Some are standard straight quotes, some are angled. That's probably the root cause. Maybe the app that imports it is treating both types as quotes whereas Numbers only considers the true quotes to be quotes. I would suggest doing a find/replace all in your Numbers document that changes them all to regular straight quotes, then try to export as CSV

Nov 19, 2015 1:29 PM in response to Badunit

Badunit wrote:


Looking at the CSV image, not all quotes are quotes. Some are standard straight quotes, some are angled. That's probably the root cause.


Your eyes are better than mine! 😉 Maybe there are curly quotes in there. It's possible that unchecking Smart Quotes in the Edit > Substitutions menu can reduce this kind of problem, though I don't think that will be much help for values already entered.


User uploaded file


I've found from bitter experience that embedded quotes (whether straight or curly) and CSV often don't mix very well.


SG

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Export to CSV is not placing quotes around all text fields

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.