Home  >  Article  >  Backend Development  >  导源码里的.sql资料用navicat的时候没能成功执行,中文变乱码

导源码里的.sql资料用navicat的时候没能成功执行,中文变乱码

WBOY
WBOYOriginal
2016-06-13 12:39:51807browse

导源码里的.sql文件用navicat的时候没能成功执行,中文变乱码
导源码里的.sql文件用navicat的时候没能成功执行

.sql文件里的编码DEFAULT CHARSET=gb2312; 插入语句中有中文数据要插入.
于是在navicat里创建数据库以及编码都选择了gb2312,但是在导入的过程中提示没成功,而是导入数据中的中文都变成了乱码.(就是navicat里导入的时候变成乱码)

Statement:
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