- 1.头部声明
utf-8:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
...gb2312:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
- 2.html的meta声明
utf-8:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
... ...
gb2312:
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
- 3.session中声明.一般放到config文件即可,每个页面都引用到。
response.Charset="UTF-8"
Session.CodePage=65001