No matter what language Garbled text, there are several methods to solve Garbled text in ASP: If the page is displayed normally, the data obtained from the data is garbled
UTF-8 encoding: Add at the top of the ASP script
CopyCodeThe Code is as follows: <% @ Language = "VBScript" codePage = "65001" %>
And add it to the Copy codeThe Code is as follows: <meta http-equiv = "Content-Type" content = "text/html; charset = UTF-8">
Gb2312 encoding: Add the following code to the top of the ASP script:Copy codeThe Code is as follows: <% @ Language = "VBScript" codePage = "936" %>
And add it to the <Meta http-equiv = "Content-Type" content = "text/html; charset = gb2312">
If the output statement is garbled, you need to add this sentence:Copy codeThe Code is as follows: Response. charset = "UTF-8"
If the error message is garbled:
Modify the browser code to gb2312 or view the source code.