집 >데이터 베이스 >MySQL 튜토리얼 >php网mysql数据库插入数据乱码问题?
mysqlphp乱码
我php页面是设置为
<code> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></code>
数据库的编码也是utf8
Variable_name Value
character_set_client utf8
character_set_connection utf8
character_set_database utf8
character_set_filesystem binary
character_set_results utf8
character_set_server utf8
character_set_system utf8
character_sets_dir D:\mysql\share\charsets\
我在地址栏输入
http://zjnetwork.gotoip1.com/library/shz_library.php?action=3&searchzd=文件
将“文件”写入到数据库,结果查看数据库是“%E6%96%87%E4%BB%B6”
请问怎么解决,让在数据库中显示也是“文件”