以"UTF-8"方式保存html文件,设置编码方式为 “charset=utf-8” 如下所示: <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />