ASP coding problem

Recently to be a Japanese one. Customer reception shows Japanese management background in Chinese. Procedure is not difficult, but because of language differences, do not know that "garbage" means, there would be quite painful.

First of all, the problems encountered in the code. To use both Chinese and Japanese, not Chinese in GB2312, I use the international code UTF-8. Intend to do a good job with the background before applying, so save time and effort. Because the procedure is GB2312 before, so first of all have to encode into UTF-8. My approach is to use DW to open another page one by one in the "Edit -> Page Properties -> Title / Encoding" in the encoding to UTF-8, and then save.

After reform there was a problem, no login prompt background, appears as a blank page, the fact that log successful. JS prompt displayed some characters are garbled. To the Forum asked what the solution is to add:

<% @ LANGUAGE = "VBSCRIPT" CODEPAGE = "65001"%>
<% Response.CodePage = 65001%>
<% Response.Charset = "UTF-8"%>

Cause of the problem may be with the Response output information is not UTF-8, while the first line CODEPAGE = "65001" only acting on the static string, such as the definition of the constants with Const. Add Response.CodePage = 65001 and Response.Charset = "UTF-8" is the role of the output string using UTF-8

Declined comment