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 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!