您现在的位置是:网站首页> 编程资料编程资料

如何用htmlEncode来显示Unicode?_编程10000问_

2023-05-25 427人已围观

简介 如何用htmlEncode来显示Unicode?_编程10000问_

如何用htmlEncode来显示Unicode

<%@ Language=VBScript %>


</span><span style="FONT-FAMILY: 宋体; mso-bidi-font-size: 9.0pt; mso-ascii-font-family: ''; mso-hansi-font-family: ''">千花飞舞之</span><span lang="EN-US" style="FONT-FAMILY: ''; mso-bidi-font-size: 9.0pt">UNICODE</span><span style="FONT-FAMILY: 宋体; mso-bidi-font-size: 9.0pt; mso-ascii-font-family: ''; mso-hansi-font-family: ''">编码</span><span lang="EN-US" style="FONT-FAMILY: ''; mso-bidi-font-size: 9.0pt">


<%
Dim strU
dim strNormal
strU= ChrW(7913)
strNormalANSI= "aiN"
%>


An ANSI value: <%=strNormalANSI%>

An htmlencoded String: <%=Server.htmlEncode(strU)%>

-六神源码网