网络编程
位置:首页>> 网络编程>> Asp编程>> asp如何用HtmlEncode来显示Unicode编码?

asp如何用HtmlEncode来显示Unicode编码?

  发布时间:2010-06-12 12:49:00 

标签:HtmlEncode,Unicode,编码

如何用HtmlEncode来显示Unicode?


    见下:

<%@ Language=VBScript %>
<HTML>
<HEAD>
<TITLE>asp教程之UNICODE编码 - aspxhome.com</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>

0
投稿

猜你喜欢

手机版 网络编程 asp之家 www.aspxhome.com