A knowledge reserve for understanding character encoding1. Basic Computer knowledge2. principle of Text Editor Access file (Nodepad++,pycharm,word)# 1, open the editor opens a process, is in memory, so, the content written with the editor is stored
I believe you must have met, open a Web page, but show a heap of like garbled, such as "бїяазъся", "????????"? Remember the message header fields Accept-charset, accept-encoding, Accept-language, content-encoding, content-language in HTTP? And
A knowledge reserve for understanding character encoding 1. How the text editor accesses the file (Nodepad++,pycharm,word)Opening the editor opens a process that is in memory, so content written in the editor is also stored in memory, and data is
Don't you want to be despised again? Let's see it! Understand Python2 character encoding,
Programmers think of themselves as creators and often despise products or QA that do not know much about technology. Sadly, programmers also despise each other,
I. What is character encodingThe computer must be energized to work, that is, ' electricity ' drives the computer to work, and the ' power ' is characterized by high and low voltages (i.e., binary number 1, low voltage i.e. binary number 0), which
Statement: This article is intended for technical exchanges and is not intended for the "square" (the new version of the square educational administration system password processing method has also changed, just use this as an introduction ......)!
The family system of the 16-bit operation flow is this: Reader,writer abstract class,
Then the implementation class Filereader,filewriter, write can write the string content directly, read or the same.
Then is the base class wrapper class
1. Common Code for decimal number
Commonly used code of the decimal number includes 8421bcd code, remaining 3 code, and Gray code. The encoding principle is to convert the decimal 0 ~ 9. Each of the 10 Base numbers uses a 4-bit binary code instead
Character encoding because the computer only recognizes 0 and 1, in order to enable the computer to support symbols such as text and letters, convenient and practical operation of the computer so that the character encoding came into being, designed
Reference:Http://www.ruanyifeng.com/blog/2007/10/ascii_unicode_and_utf-8.htmlHttp://www.cnblogs.com/mjgforever/archive/2008/02/27/1083135.html1. ASCII codeWe know that inside the computer, all the information is ultimately represented as a binary
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.