IT码农库

您当前所在位置:首页 > 网络编程 > 编程10000问

编程10000问

如何用htmlEncode来显示Unicode?

网络 2006-11-16编程10000问2205
如何用htmlEncode来显示Unicode?<%@ Language=VBScript %><html><head><title>千花飞舞之UNICODE编码</title></head><body><%Dim strUdim strNormalstrU= ChrW(7913)strNormalANSI= "aiN"%><font face="arial" size=+...

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

大图广告(830*140)