We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Save CSV with CR newline


When saving a workbook as a csv file is there anyway to specify the newline character(s)?
The default seems to be CRLF even when I run it on Linux (and System.getProperty(“line.separator”) is set to just LF).


edit typo: CR -> LF


How could you do this in MS Excel. Well, Aspose.Cells follows MS Excel standards. The CSV file generated by Aspose.Cells would follow MS Excel specifications with the charsets. If you find anything different, kindly give us sample template files (one with Aspose.Cells and other with MS Excel) to show the difference, also provide the sample code that you are using, we will check it soon.

Thank you.