阅读背景:

使用来自django的BOM返回以UTF-8编码的csv

来源:互联网 

I'm trying to output a CSV file that the user could open with excel. I've encoded all string in UTF-8 but when I opened the file with excel I see jibrish. Only after converting the file to UTF-8 with BOM (using notepad++ on windows) I was able to display the content properly. I'm trying to output a CSV file that the user c




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: