#What is the character encoding commonly used in microcomputers?
The most commonly used character encoding in microcomputers is theASCII
code.
Uses 7 binary digits (the remaining 1 binary digit is 0) to represent all uppercase and lowercase letters, numbers 0 to 9, punctuation marks, and special control characters used in American English. Among them:
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), FF ( Page feed), DEL (delete), BS (backspace), BEL (ring), etc.;
Special characters for communication: SOH (head of text), EOT (end of text), ACK (confirmation), etc.; ASCII values 8, 9, 10, and 13 are converted to backspace, tab, line feed, and carriage return characters respectively. They do not have a specific graphic display, but will have different effects on text display depending on the application.
32~126 (95 in total) are characters (32 is a space), of which 48~57 are ten Arabic numerals from 0 to 9.
Extended information
Common ASCII code size rules: 0~9
1) Numbers are smaller than letters. Such as "7"
2) The number 0 is smaller than the number 9, and increases in sequence from 0 to 9. For example, "3"
3) The letter A is smaller than the letter Z, and increases in order from A to Z. For example, "A"
4) The uppercase letters of the same letter are 32 smaller than the lowercase letters. Such as "A"
The above is the detailed content of What character encoding is commonly used in microcomputers. For more information, please follow other related articles on the PHP Chinese website!