软讯网络 > 网站建设 > 网页制作 > asp中的编码
【标 题】:asp中的编码
【关键字】:
asp
【来 源】:http://www.cublog.cn/u/20532/showart.php?id=214271
asp中的编码
①首先当然是页面本身用utf-8编码,在DW新建页时默认编码定为“Unicode(UTF-8)”
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001" %>
' ②CODEPAGE="65001" 告诉服务器页面使用UTF-8编码的
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
' ③charset=utf-8告诉浏览器页面使用UTF-8编码的
</head>
<body>
<% Response.Charset = "utf-8" %>
' ④服务器输出编码为utf-8
</body>
</html>