只要在PHP的最上面增加一段
<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
<meta http-equiv='Content-Type' content='text/html'; charset='utf-8' />
将上面这段话增加到就可以不乱码了。
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!