In English NT and SQL, the implementation of the page in Chinese appears

Source: Internet
Author: User
Question: read from the database in Chinese are "? ”
Solution:
Step 1: Register the Code page to enable SQL Server to support Chinese
1. Copy files c_936.nls to the System32 directory under the system directory
2. Add the following keys using Regedit32.exe:
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. Rebuilding the master database for SQL Server using the Simplified Chinese character set
Step 2.
Add a line to the beginning of the ASP program:
<%@ codepage=936%>
The benefit of this solution is not to install the Chinese platform system, but also stable running NT (English Enterprise version
Stability

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.