且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在Excel 2007中导入带换行符的CSV

更新时间:2023-02-09 10:39:46

我终于找到了问题!

事实证明,我们使用Unicode编码,而不是ASCII或UTF-8编写文件。更改FileStream上的编码似乎解决了问题。

It turns out that we were writing the file using Unicode encoding, rather than ASCII or UTF-8. Changing the encoding on the FileStream seems to solve the problem.

感谢大家的所有建议!