如何用htmlEncode来显示Unicode?

644 查看

如何用htmlEncode来显示Unicode

<%@ Language=VBScript %>
<html>
<head>
<title>
千花飞舞之UNICODE编码</title>
</head>
<body>
<%
Dim strU
dim strNormal
strU= ChrW(7913)
strNormalANSI= "aiN"
%>

<font face="arial" size=+1>
<P>An ANSI value: <%=strNormalANSI%>
<P>An htmlencoded String: <%=Server.htmlEncode(strU)%>
</font>