Web | 解决中文乱码

设定文件的编码格式
在head中添加

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

 或者

<meta charset="UTF-8">

 

posted @ 2018-10-09 08:34  听说这是最长的名字了  阅读(226)  评论(0编辑  收藏  举报