Home  >  Article  >  The size of the ascii code value space

The size of the ascii code value space

angryTom
angryTomOriginal
2020-02-08 09:54:5732866browse

ASCII code uses a specified 7-bit or 8-bit binary number combination to represent 128 or 256 possible characters. Standard ASCII code, also called basic ASCII code, uses 7-bit binary numbers to represent all uppercase and lowercase letters, numbers 0 to 9, punctuation marks, and special control characters used in American English.

The size of the ascii code value space

The size of the ascii code value space

The ASCII code of the space is 32.

The ASCII of other common characters are as follows:

Enter: ASCII code 13

Line feed: ASCII code 10

0~31 and 127 (33 in total) are control characters or special communication characters (the rest are displayable characters), such as control characters: LF (line feed), CR (carriage return);

32~126 (95 in total) are characters (32 is a space), of which 48 to 57 are ten Arabic numerals from 0 to 9.

65~90 are 26 uppercase English letters, 97~122 are 26 lowercase English letters, and the rest are some punctuation marks, arithmetic symbols, etc.

In standard ASCII, its highest bit (b7) is used as the parity bit. The last 128 are called extended ASCII codes.

The above is the detailed content of The size of the ascii code value space. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn