Sybase Chinese garbled Solution

Source: Internet
Author: User

Sybase Chinese garbled because the default encoding set for ISO-1, in Sybase Central v4.3 Chinese display as garbled, the character set is changed to cp936 or cp850, Chinese garbled solution.

Character Set replacement method:

1. Open Sybase Central to connect to the database, open the syscharsets table of the master database, and check whether cp936 data exists in the name column. If not, go to step 2. If yes, step 3.

 

2. Run --> cmd to enter the DOS window command prompt and enter the Directory D:/Sybase/charsets/cp936 (this is my Sybase installation directory ), enter the command charset-USA-p-s binary. SRT cp936

 

3. in step 1, open the syscharsets table of the master database and check that the ID of the name column cp936 is 171. Click on the database server name on the left (my server name is gzlcl) right-click --> properties --> server configuration ", select" langguages "in" display configuration parameters ", set" Default Character Set ID "to 171, and then restart the service.

 

4. Configure locales. DAT file: the file path is D:/Sybase/locales. open dat in notepad and find "[nt]". change its default character set to locale = default, us_english, cp936.

 

In this way, Chinese garbled characters in Sybase Central can be solved.

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.