Several rules of the "dry" MySQL Character set

Source: Internet
Author: User

The content is short but is dry, practice + theory Summary, welcome to shoot Bricks

Disclaimer: The following code does not apply to sorted sets


1) Set names and Default-character-set equivalent
2) When writing the set names (Default-character-set) than the table's character set level small can be written in, and read the time how to write how to read it will not garbled
3) The inverse process of a subset to a superset is not garbled, but it needs to be read in a subset
GBK----UTF8 (import, export)-----GBK latin1------UTF8 (import, export)-----latin1 It's not garbled.
4) UTF8-----latin1 (set names)-----UTF8 (table) storage will grow longer
5) UTF8 can be exchanged with GBK when saving Chinese characters. But still meet how (client) to save in how to read, need set names consistent to not read out garbled


This article is from the "I am White" blog, please be sure to keep this source http://10170308.blog.51cto.com/10160308/1726789

Several rules of the "dry" MySQL Character set

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.