写入csv文件时,换行符问题
szy833 opened this issue · comments
szy833 commented
Jasonyou commented
贴一下具体代码
szy833 commented
贴一下具体代码
EasyExcel.write(path).excelType(ExcelTypeEnum.CSV).withBom(false).autCloseStream(false).sheet().doWrite(dataList);
这样写入的话,是使用的系统编码吗?为什么我服务在Centos上,写入后,vim 打开文件 fileformat 还是 dos(CRLF)?需要手动设置成 unix