Mysql ultimate in character set Modification

Source: Internet
Author: User

This afternoon, I have been working on the Mysql Character Set Problem. Using command line load to import text file data, Chinese characters are garbled.

So I checked the default encoding of Mysql, and the input show variables like 'character _ set _ % ';,


I think it's also utf8,

The characters in the database, table, and field settings are in utf8 format. It has been a long time to struggle with this issue. It turns out that it is not a problem with Mysql, so it should be due to a problem with the data encoding of the source file, therefore, the character format of Windows Default txt text is gbk. After finding the problem, you can change the character of the source file. However, the method on the internet is quite troublesome. Here we will teach you how to use a tool to change it.

Download link for everyone http://download.csdn.net/detail/zsb190623/6900839

I wrote a blog for everyone who stayed up late. Everyone remembers it!

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.