How to set character encoding to GBK or gb2312__ encoding in PowerDesigner

Source: Internet
Author: User

We all know that using PD to design database export by default UTF-8 encoding, then set the character encoding to GBK or GB2312 in PowerDesigner. Here I take the latest powerdesign 15 as an example to show you the following:

Right-click the Designed database table in PD, select Properties (property options), and select the Physical Options tab in the Open Properties dialog box, as shown in the following illustration:

The latest version of the PD15 may not have charset = (GBK), if not, follow the steps below to manually add

1, in the PD installation directory (my PD installation path is: C:/Program Files/sybase/powerdesigner 15), Find resource Files folder, in resource files have a DBMS folder, Find the Mysql50.xdb file inside and use Notepad to open it.

2, press ctrl+f key input "checksum =%d:list = 0 | 1, default = 0 ", add" charset =%s:list = UTF8 in front of it | GBK | GB2312, default = GBK "The following figure:

3. Save the modified file (ctrl+s), then restart the PowerDesigner software, right-click the Designed database table in PD, select Properties (property options), and select the Physical Options tab in the Open Properties dialog box. can appear charset = (GBK), if you need other encoding can choose the appropriate encoding, the following figure:

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.