Home >Backend Development >PHP Tutorial >php设置编码格式的方法_PHP

php设置编码格式的方法_PHP

WBOY
WBOYOriginal
2016-06-01 12:07:55961browse

 a. 如果欲使用gb2312编码,那么php要输出头:header(“Content-Type: text/html; charset=gb2312"),静态页面添加

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn