head后,tilte前添加
<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
开头添加
header("Content-Type: text/html;charset=utf-8");