Termination of UTF-8 and GB2312 garbled problems

xiaoxiao2021-03-18  188

UTF-8 and GB2312 termination of garbled problem <% @ codepage = 65001%> UTF-8 <% @ codepage = 936%> 简体 中文 <% @ codepage = 950%> Traditional Chinese <% @ codepage = 437%> United States / Canadian English <% @ CodePage = 932%> Japanese <% @ codepage = 949%> Korean <% @ codepage = 866%> Russian codePage Specifies what encoding read from IIS (form commit, address bar Transfer, etc.). The reason for messages is to be in the case where the website is to be integrated. Just like my blog, I will have this problem when I integrate, because Blog is UTF-8, and recently, many netizens are consulting this question, I tried many ways. The most convenient way is as follows: Do not convert any module webpage encoding the UTF-8 or UTF-8, the GB22312 is also the package file of the GB2312 in the UTF-8 module (such as conn.asp, but pay attention to conn.asp must be In the first line call) The most in front plus <% @ language = "vbscript" CODEPAGE = "65001"%> <% session.codepage = 65001%> Package of the package file of the GB2312 module plus <% @ Language = " Vbscript "CODEPAGE =" 936 "%> <% session.codepage = 936%> Other coded classes.

转载请注明原文地址:https://www.9cbs.com/read-129754.html

New Post(0)