84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
在phpmyadmin修改添加的字符,使用phpmyadmin查看时字符正常,通过php取出来显示就是乱码(显示?号),同时通过php插入的字符,使用phpmyadmin查看时乱码,php取出来显示却正常。html的meta,以及php.ini配置文件都是设置的utf8编码,不知道这是怎么回事?
认证高级PHP讲师
Check the character set used by your php to connect to the database. The problem should be here.
1. Page document encoding 2. Database encoding 3. The encoding used when connecting to the database (mysql_query(xxxxxxx) here)
Mine is also set to gb2312 and it displays normally in phpmyadmin, but when read and displayed in Dreamweaver? The number is garbled, please solve it
Check the character set used by your php to connect to the database. The problem should be here.
1. Page document encoding
2. Database encoding
3. The encoding used when connecting to the database (mysql_query(xxxxxxx) here)
Mine is also set to gb2312 and it displays normally in phpmyadmin, but when read and displayed in Dreamweaver? The number is garbled, please solve it