怎样用HtmlEncode显示Unicode?
发表于:2007-06-30来源:作者:点击数:
标签:
<%@ Language=
VBScript %>
<HTML>
<HEAD>
<TITLE>UNICODE Encoding</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>
原文转自:http://www.ltesting.net