怎样用HtmlEncode显示Unicode?
2001-03-21 10:18:30 来源:WEB开发网核心提示:<%@ Language=VBScript %><HTML><HEAD><TITLE>UNICODE Encoding</TITLE></HEAD><BODY><%Dim strUdim strNormalstrU= ChrW(7
<%@ 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>
<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>
Tags:怎样 HtmlEncode 显示
编辑录入:爽爽 [复制链接] [打 印][]
更多精彩
赞助商链接