Machine dream database garbled

Source: Internet
Author: User
Dream database garbled problem what should I do if dream database garbled? The front-end is normally displayed, and garbled characters are involved in the code ..


Reply to discussion (solution)

Zhimeng UTF-8 and GBK two versions, you need to choose one of them according to your own needs
Once selected, it is necessary to follow his rules. The so-called under the eaves, can not but bow

If you want to reverse the attack, you must lose yourself.

Zhimeng UTF-8 and GBK two versions, you need to choose one of them according to your own needs
Once selected, it is necessary to follow his rules. The so-called under the eaves, can not but bow

If you attempt to reverse the attack, the loss must be caused by the structure of the database table exported by yourself. I think it is the latin1_swedish_ci encoding. when I export the data, it seems like the utf8 setting. I will recreate a library, if the encoding is set to latin1_swedish_ci, garbled characters are still displayed...

That's Swedish. it's strange to be confused.

It's Swedish. it's not crazy. but how can I change it? I can't change a field or a field.

Set the database encoding when creating a database and then import it.

When you create a database, set the database encoding and import the database again. after you try utf8 gb2312, even the mother's Swedish has been tried, or garbled... Ah

I also encountered a similar problem. I wonder if the problem of the landlord has been solved? It is estimated that it is related to the mysql version. there is no problem with the local high version, and the space for migrating data to the public network will appear, just watching a bunch ??????????, However, it does not affect the foreground usage.

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.