MySQL ODBC Access Coding problem notes

Source: Internet
Author: User

In old programming software such as VB6, the MySQL database is accessed through ODBC, regardless of the UTF8 or GBK of the database used on the server, the test discovery client must be set to GBK to display the kanji correctly:

If the data field may contain other languages, the following settings are required:

1, the server-side data table needs to use UFT8 encoding, in order to accommodate other language text:

2. The client is driven by the Unicode version of MySQL ODBC, the ANSI version can only display Chinese simple and traditional, cannot display other language text:

The test results are as follows:

The figure is a adodc control with VB6 and a DataGrid control.

MySQL ODBC Access Coding problem notes

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.