原生mysql读出来数据有乱码

加入这个后mysql_query("set names utf8");,可以将读出来的数据变成utf8的格式,可能是解决问题的一个好方法。

原文地址:https://www.cnblogs.com/liuwenbohhh/p/4414085.html