Dear heroes, I wonder if the IE browser version is too low and the settings page is garbled. It's just that the ASP server error message is garbled.
The following is UTF-8
The following is Simplified Chinese
The following is compatible
Reply to discussion (solution)
The web page can set the encoding, but you definitely have not set it.
If you find garbled characters when browsing the page. You can try these steps: Make sure that the encoding format of your page is correct: for example, if you use charset=utf-8 in test.asp, please first make sure that the file itself is Utf-8 encoded. You can use Notepad to convert. Similarly, if you use charset=GBK, please first ensure that the file itself is GBK encoded.
Make sure that the encoding method of the original data you get (such as the data obtained from the database) is consistent with the page encoding method.
Try to specify what encoding IIS reads in.
UTF-8
Simplified Chinese
Traditional Chinese
< ;%@ codepage=437 %>US/Canada English
Japanese
Korean
Russian
codepage specifies what encoding IIS reads.
For example, if UTF-8 encoding is used, add at the top of the file.
For example, if GBK encoding is used, add On
Set the asp built-in object symbol mapping and the encoding of the response content-type header
If you use utf-8 encoding, just at the end of the article Add above:
Response.Charset="UTF-8" %>
If you use GBK encoding, add at the top of the article:
Response.Charset="GBK" %>
Note that you can put the settings pointed out in 3 and 4 into a publicly included file (such as conn.asp) top. Then all pages apply this attribute.
Thank you, 2nd floor. The asp program is 65001 and the IE browser is utf-8. It should be fine.
The content of the page is displayed normally, only the error message returned is garbled!
Some programs are 936, is this related? I'll try.
The problem is solved, CODEPAGE="65501", and the subsequent charset=GB2312" are inconsistent. The previous one is changed to 936, that's good.

The article discusses the HTML <progress> element, its purpose, styling, and differences from the <meter> element. The main focus is on using <progress> for task completion and <meter> for stati

The article discusses the HTML <datalist> element, which enhances forms by providing autocomplete suggestions, improving user experience and reducing errors.Character count: 159

The article discusses the HTML <meter> element, used for displaying scalar or fractional values within a range, and its common applications in web development. It differentiates <meter> from <progress> and ex

The article discusses the viewport meta tag, essential for responsive web design on mobile devices. It explains how proper use ensures optimal content scaling and user interaction, while misuse can lead to design and accessibility issues.

The article discusses using HTML5 form validation attributes like required, pattern, min, max, and length limits to validate user input directly in the browser.

This article explains the HTML5 <time> element for semantic date/time representation. It emphasizes the importance of the datetime attribute for machine readability (ISO 8601 format) alongside human-readable text, boosting accessibilit

Article discusses best practices for ensuring HTML5 cross-browser compatibility, focusing on feature detection, progressive enhancement, and testing methods.

The article discusses the <iframe> tag's purpose in embedding external content into webpages, its common uses, security risks, and alternatives like object tags and APIs.


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

SublimeText3 English version
Recommended: Win version, supports code prompts!

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

Zend Studio 13.0.1
Powerful PHP integrated development environment