MySQL Database import Chinese garbled problem solving scheme

Source: Internet
Author: User
Tags mysql import
MySQL database Chinese characters garbled how to do ? How to solve the problem of Chinese garbled after MySQL data import? How to solve? The first two days of the project used to contain Chinese text field data CSV file, using Workbench import file Error:

From the internet for a long time is said to be CSV file encoding and client code mismatch problem, try to convert CSV to UTF8 encoding, import or not.

Finally, use the Navicat tool to complete the import:

Encoding is particularly important, to choose 10008 (mac-simplified Chinese GB 2312) cannot use the default Utf-8 because CSV files with Chinese are generally encoded in 10008 rather than UTF8.

Error mode:

The following MySQL import after the Chinese display garbled

Coding is wrong will appear garbled phenomenon!!!

This completes the MySQL data import work!

MySQL database in the Chinese garbled problem solved completely!

Related Article

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.