php乱码怎么解决
我的页面编码是utf8的
mysql本文来源gaodaimacom搞#^代%!码&网*
搞代gaodaima码
数据库的编码也是utf8的,
我用的是fleaphp+smarty
不知道是不是fleaphp搞得鬼啊,
我用fleaphp中Action中的方法execute(“set names ‘utf8′”);
也不行,现在还是解决不了,愁!!
——解决方案——————–
在配置文件里写 上 ’responseCharset’=>’UTF-8′,
或许跟你的配置有关