In English NT and SQL, Chinese characters are displayed on the page.

Source: Internet
Author: User

Question: All Chinese characters read from the database are "?".
Solution:
Step 1: register the Code Page to enable SQL Server to support Chinese Characters
1. copy the file C_936.nls to the system32 directory under the system directory.
2.use regedit32.exe to add the following keys:
Location: HKEY_LOCAL_MACHINEsystemCurrentControlSetControlNlsCode
Page
Value name: 936
Value: C_936.NLS
Location: HKEY_LOCAL_MACHINEsystemCurrentControlSetControlNlsLang
Uage
Value name: 0804
Value: l_intl.nls
3. Use the simplified Chinese character set to reconstruct the Master database of SQL server
Step 2.
Add a line to the beginning of the ASP program:
<% @ Codepage = 936%>
The advantage of this solution is that you do not need to install the Chinese platform system, but can run NT stably (the English Enterprise Edition is relatively
Stable)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.