创建数据库的时候,将‘整理’也改成utf8是utf8不是utf-8 选 utf8 unicode ci
把你的查询 时设置mysql_query("set names 'utf-8'");
UltraCodeSwitching 可以实现批量编码转换