ASCII ((American Standard Code for Information Interchange): American Standard Code for Information Interchange) is a computer coding system based on the Latin alphabet, mainly used to display modern English and other Western European languages.
What is the number of characters that ascii can represent?
128 characters.
Extended information:
ascii is the most common information exchange standard and is equivalent to the international standard ISO/IEC 646. ASCII was first published as a standard type in 1967, and was last updated in 1986. So far, a total of 128 characters have been defined.
In computers, all data must be represented by binary numbers when storing and operating (because computers use high and low levels to represent 1 and 0 respectively), for example, like a, b, c, 52 letters such as d (including uppercase letters), numbers such as 0 and 1, and some commonly used symbols (such as *, #, @, etc.) must also be represented by binary numbers when stored in the computer.
As for which binary numbers are used to represent which symbols, of course everyone can agree on their own set (this is called encoding), and if everyone wants to communicate with each other without causing confusion, then everyone must use The same encoding rules, so the relevant standardization organizations in the United States introduced ASCII encoding, which uniformly stipulates which binary numbers are used to represent the above common symbols.
The above is the detailed content of How many characters can ascii represent?. For more information, please follow other related articles on the PHP Chinese website!