Correct troubleshooting of MySQL EMS garbled characters

Source: Internet
Author: User

We often encounter MySQL EMS garbled code. The following articles mainly describe the correct solution to the MySQL EMS garbled code problem. If you are curious about it, the following articles will unveil its mysteries. I hope you will gain some benefits after browsing.

I recently learned about jsp (the preferred choice for SUN Enterprise applications) and used MySQL (the best combination with PHP) databases. But garbled code has always plagued me.

I think that as long as the page to the database using a code such as UTF-8) should not produce garbled. As a result, my Chinese characters are not purely garbled, but in the form of Chinese numbers and English garbled characters.

The solution was difficult and took a lot of detours. The most fundamental reason was EMS2007, which had poor support for Chinese characters! Directly Using EMS2007 to add and modify Chinese data in the database will result in Chinese numbers + English garbled characters, such as inputting data "I love Chinese ", results database storage is indeed "I love Chinese ahv", and later I switched to EMS2005 ver3.7.7.1 and found that this version can not store UTF-8 data. Finally, the EMS2005 ver3.7.7.1 + GB2312 encoding combination is used, and the problem is solved!

If you also encounter "Chinese numbers + English garbled characters", try this method. Of course, if Chinese characters are displayed in garbled characters, it is easier to solve the problem. You can search for the answer by baidu.

The above content is an introduction to the troubleshooting of MySQL EMS garbled code. I hope you will have some gains.


The above content describes how to solve the MySQL EMS garbled problem, hoping to help you in this regard.

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.