Recommended: Help documents on text watermarks in ASPJPEG watermarks (Chinese and English comparison) Font Properties BkColor As Long (read/write) Specifies the font's background color. Font.BkMode must be set to anything other that tra
If you cannot execute the SQL statement correctly when building a website, after responding, you will find that the Chinese fields in the SQL statement are garbled, you can use the following method to solve it:
<%@ codepage=936%>Simplified Chinese
<%@ codepage=950%>Traditional Chinese
<%@ codepage=65001%>UTF-8
codepage specifies what code IIS reads the passed string (form submission, address bar delivery, etc.).
The reason for garbled code is that the module encoding is different when the website needs to be integrated.
The most convenient method is as follows:
Do not convert any module web page encoding the utf-8 or utf-8, and the Gb22312 or Gb2312.
In the Utf-8 module package file (such as conn.asp, but be aware that conn.asp must be called on the first line) add:
<%@LANGUAGE=VBSCRIPT CODEPAGE=65001%>
<%Session.CodePage=65001%>
Add:
<%@LANGUAGE=VBSCRIPT CODEPAGE=936%>
<%Session.CodePage=936%>
Share: Forum to implement UBB style using "regular expression" objects in ASP Last time, we talked about how to use regular expression objects to achieve verification of various data in ASP. The article describes the powerful functions of regular expression objects. Next, let's take a look at other functions of regular expression objects.