Home > Common Problem > What are the ASCII code values ​​corresponding to a and A?

What are the ASCII code values ​​corresponding to a and A?

云罗郡主
Release: 2020-10-12 16:28:36
Original
386151 people have browsed it

The ASCII code of A is 65, and the ASCII code of a is 97. In the ASCII code table, the difference between the uppercase and lowercase values ​​​​of a letter is 32. Generally, we know the ASCII code value of an uppercase letter and the corresponding ASCII value of a lowercase letter. The code value is calculated, and it is the ASCII code value of uppercase letters "32".

What are the ASCII code values ​​corresponding to a and A?

What are the ASCII code values ​​corresponding to a and A?

The ASCII code of A is 65, and the ASCII code of a The ASCII code is 97. In the ASCII code table, lowercase letters are ranked behind uppercase letters. The difference between the uppercase and lowercase values ​​​​of a letter is 32. Generally, the ASCII code value of an uppercase letter is known, and the corresponding ASCII code value of a lowercase letter can be calculated. It is the ASCII code value 32 for uppercase letters. [Recommended reading: The largest ascii code value is ]

The reason why ASCII code is generated

In the computer, all The 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, 52 letters like a, b, c, d (including uppercase) and Numbers such as 0 and 1 and some commonly used symbols (such as *, #, @, etc.) are also represented by binary numbers when stored in the computer, and 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. It uniformly stipulates which binary numbers are used to represent the above common symbols.

The American Standard Information Interchange Code is a standard single-byte character encoding scheme developed by the American National Standard Institute (ANSI) for text-based data. It started in the late 1950s and was finalized in 1967.

It was originally an American national standard and was used as a common Western character encoding standard for different computers to communicate with each other. It has been designated as an international standard by the International Organization for Standardization (ISO). Called the ISO 646 standard. Applies to all Latin script letters.

The above is the detailed content of What are the ASCII code values ​​corresponding to a and A?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template