This repository has been archived by the owner on Jun 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
导出csv时,中文显示乱码 #540
Labels
Comments
This is not a bug of pyspider. It is a "bug" of Excel. |
|
@binux After doing some experiments on my mac's Excel, it seems like Excel can only open csv files of "UTF-16 LE with BOM". |
我使用的是windows,主要是中文,英文无影响。 |
|
我的系统win10,execl2010,按照binux的方法,先用notepad++另存为utf-8 with bom格式后,用excel正常打开没有乱码,感谢。 |
As @xiaomingdaily didn't respond, I will close this issue for now. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
这块主要是utf8的原因。excel打开utf8格式的文件时,中文会显示乱码。
网上搜索解决方案为:人肉地先使用notepad++把格式转化为ascii,然后再用excel打开。
需求:
是否可以修复此处bug,使后续导出csv时中文默认显示正常?
The text was updated successfully, but these errors were encountered: