Python character encoding précis-writers

Source: Internet
Author: User

Assic code is not supported in Chinese, the first table to support Chinese is GB2312

GB2312 contains 7,445 characters

GBK1.0 contains 21,886 characters

GB18030 contains 27,484 characters, and Tibetan, Uighur and other minority ethnic characters

Unicode universal code, support for all countries and regions of the code

UTF-8 Unicode extension set, variable-length character encoding set

Unicode is backwards compatible with gb2312, GBK

Attention:

python2.x default encoding is Assic

python3.x default encoding is Unicode, so there is no need to do two processing for python3.x direct support in Chinese.

Python character encoding précis-writers

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.