[ACCEPTED]-classic asp character encoding-vbscript

Accepted answer
Score: 12

I had same problem when started using utf-8 5 on ASP, found that session.CodePage makes 4 the difference. In classic ASP pages do 3 always this first ASP declarations to ensure 2 all page uses UTF-8 for data, forms, asp 1 code, data received or sent.

<%@Language=VBScript CodePage = 65001%>
Session.CodePage = 65001
Response.charset ="utf-8"
Session.LCID     = 1033 'en-US
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Score: 3

What you are looking at is UTF-8. It's 5 probably exactly as it should be, and the 4 problem is that the tool you use for the 3 looking is not handling the UTF-8 correctly, either 2 because it cannot, or because it is not 1 configured correctly.

More Related questions