如何用htmlEncode来显示Unicode?

(编辑:jimmy 日期: 2024/11/11 浏览:2)

如何用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>