解决HTML中文乱码

1.在head之间,添加

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

2.设置html文件编码格式是utf-8(不需要无bom格式)

猜你喜欢

转载自blog.csdn.net/yuxisanno139/article/details/80675426