首页 > 代码库 > 3-PHP全部编码UTF-8

3-PHP全部编码UTF-8

0-html

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

1-css

@CHARSET "UTF-8";

2-js

<script src="http://www.mamicode.com/search.js" charset="UTF-8"></script>

3-php

header("Content-type:text/html; charset=utf-8");

4-centos

 

3-PHP全部编码UTF-8