Python encoding and decoding

Source: Internet
Author: User
Encoding and decoding first, it is clear that the information stored in the computer is binary encoding/decoding is essentially a mapping (correspondence), such as ' a ' with ASCII encoding is 65, the computer is stored in 00110101, but the display can not display 00110101, or to display ' A ', but the computer how to know 00110101 is ' a ', this need to decode, when the choice of ASCII decoding, when the computer read 00110101 to the corresponding ASCII table found to be ' a ', displayed as ' A ' Code (encode) : True characters and binary string correspondence, real characters → binary string decoding (decode): binary string corresponding to real character, binary string → Real character

Reference:

Http://www.cnblogs.com/shine-lee/p/4504559.html

Python encoding and decoding

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.