如何用htmlEncode来显示Unicode?
发布时间:2016-12-29 来源:查字典编辑
摘要:如何用htmlEncode来显示Unicode?千花飞舞之UNICODE编码AnANSIvalue:AnhtmlencodedString:
如何用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>