上傳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: