<% @ LANGUAGE="VBSCRIPT" CODEPAGE="65001" % & gt;
<% Session. The CodePage=65001% & gt;
Display is normal, but the asp internal error, like or gb2312 encoding will be garbled words, is there a way to make an error information display is normal?
CodePudding user response:
Notepad to open the page file, save as to select "utf-8", pay attention to any page of the INCLUDE files such operation again,CodePudding user response:
Upstairs zoned out,,,,CodePudding user response:
IIS - error page Settings - 500 pages, change file encodingCodePudding user response:
The page to add & lt; % % Response. The Charset="gb2312" & gt;CodePudding user response:
It is recommended to use<meta HTTP - equiv="content-type" Content="text/HTML. Charset=utf-8 "/& gt;
CodePudding user response:
Page with<meta HTTP - equiv="content-type" Content="text/HTML. Charset=utf-8 "/& gt;
And all the asp file using notepad save as utf-8
That is to say the file content code and the actual file storage code to be consistent,
CodePudding user response:
Upstairs positive solution must save as utf-8 mode or the code1, if there are links to other pages on this page, other pages not utf-8, better defined in header code or display garbled
2, if pass to other pages, this page encoding is inconsistent, suggest using digital transmission, Chinese characters in the page again by associating parameters
CodePudding user response:
These methods are not yo I iis7.5CodePudding user response:
Asp is gb2312 internal error, this can't change, only after encounters an error, the Response. The Charset=GBKCodePudding user response:
The