设置UTF-8 编码

PHP 中:

header('Content-Type: text/html; charset=utf-8');

html中:

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

posted @ 2018-03-01 10:46  xc_flying  阅读(165)  评论(0编辑  收藏  举报