How to display Chinese characters in ASP using response.write?
<%
Response.CodePage=51936
Response.Charset="UTF-8"
Response.ContentType = "text/html"
Dim Msg
Msg="简"
%>
<%Response.Write Msg%>
How to display Chinese characters in ASP using response.write?
<%
Response.CodePage=51936
Response.Charset="UTF-8"
Response.ContentType = "text/html"
Dim Msg
Msg="简"
%>
<%Response.Write Msg%>
Codepage 51936 is EUC-CN. Not UTF-8, which is 65001.
This long quiet question, still needs a verified solution! I was successful in displaying Chinese and Korean characters from a UTF-8 encoded Classic ASP script. All I did was simply add the meta charset tag in the head of the document, like so:
<%@ Language=VBScript %>
<%
chinese="欢迎"
%>
<html>
<head>
<meta charset="UTF-8" />
...
</head>
<body>
<%= chinese %>
</body>
</html>