Home > Database > Mysql Tutorial > mysql查找出来的数据中文乱码的解决方法_MySQL

mysql查找出来的数据中文乱码的解决方法_MySQL

WBOY
Release: 2016-06-01 13:06:40
Original
1128 people have browsed it

mysql查找出来的数据中文乱码的解决方法

by 伍雪颖
select前加上语句set names 'gbk';或者set names 'utf8';
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