解决hbuilder汉字乱码问题

编辑代码界面汉字乱码:

  1. 工具-选项
  2. 常规
  3. 工作空间
  4. 文本文件编码的其他改成:utf-8

运行后网页汉字乱码:

在<head>标签中添加<meta>标签

格式:<meta charset="utf-8"  />

猜你喜欢

转载自blog.csdn.net/Xue_zenghui/article/details/78429724