上传php和读取数据库的中文时,出现乱码
同一编码
数据库设置utf-8:
网页设置utf-8:
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8"/>
<title>测试页</title>
</head>
php文件设置utf-8:
上传php和读取数据库的中文时,出现乱码
同一编码
数据库设置utf-8:
网页设置utf-8:
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8"/>
<title>测试页</title>
</head>
php文件设置utf-8: