Getting Excel to handle CRLF's correctly in CSV

Posted by Ben Fulton on Super User See other posts from Super User or by Ben Fulton
Published on 2010-09-16T19:40:53Z Indexed on 2012/10/04 21:42 UTC
Read the original article Hit count: 241

Filed under:
|

I am creating CSV files to be opened in Excel. The rows are separated by CRLF and that's fine, but some of the input data contains CRLF data in it as well. Per the usual standards, I surround them with quotes, but Excel doesn't seem to recognize the CR character and puts a little box with a question mark in it instead. I can strip the CR's out of the CSV file, but it seems like an unnecessary step. Is there an easy way to get Excel to recognize a CRLF inside a row of a CSV file?

© Super User or respective owner

Related posts about microsoft-excel

Related posts about csv