1.可以用
<meta http-equiv="content-type" content="text/html; charset=gb2312">
2.可以将js文件保存为utf-8格式,这样
<meta http-equiv="content-type" content="text/html; charset=utf-8">
便不会有乱码
<meta http-equiv="content-type" content="text/html; charset=gb2312">
2.可以将js文件保存为utf-8格式,这样
<meta http-equiv="content-type" content="text/html; charset=utf-8">
便不会有乱码