MySQL导出CSV中文乱码 如何还原?

WBOY
Release: 2016-06-06 20:24:26
Original
1172 people have browsed it

如图所示,打开的中文乱码了,有办法还原吗?数据库是UTF-8的
直接用notepad++打开的也是乱码,CSV文件是UTF-8格式的。
我没办法操作数据库,所以无法再去导出。

MySQL导出CSV中文乱码 如何还原?

MySQL导出CSV中文乱码 如何还原?

回复内容:

如图所示,打开的中文乱码了,有办法还原吗?数据库是UTF-8的
直接用notepad++打开的也是乱码,CSV文件是UTF-8格式的。
我没办法操作数据库,所以无法再去导出。

MySQL导出CSV中文乱码 如何还原?

MySQL导出CSV中文乱码 如何还原?

用记事本打开,选择编码格式为ANSI,另存为新的CSV文件

Excel是用GBK的,Notepad++可以选择编码格式 “以ANSI格式编码”就可以了

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!