How to download CSV file with CRLF and not LF?

385 Views Asked by At

I am using FastExcel to generate .csv templates, but it downloads it with LF instead of CRLF for the line breaks, so whenever I edit the files on Windows, and upload the file back to the server, the .csv formatting is messed up.

I'm not sure if it downloads it using LF automatically because the server is Linux. (So maybe if the server was on Windows it would have downloaded it with CRLF?)

How can I fix that?

0

There are 0 best solutions below