Use the Alt + keypad to enter special characters and Chinese characters

Source: Internet
Author: User

First, let's talk about the encoding of Chinese characters:

The prerequisite for a computer to process Chinese character information is to encode each Chinese character. These encodings are collectively referred to as Chinese character encoding. In fact, a number is used to correspond to a Chinese character one by one. Commonly used codes in a computer include country code, location code, and internal code.


The Country Code is a four-digit hexadecimal number. It represents a Chinese character in two bytes. Each byte has only seven digits, which is similar to the ASCII code.


The location code is a four-digit decimal number, which combines all the character sets of the GB2312-80 into a 94 × 94 square matrix, each row is called a "area", numbered 01 ~ 94; each column is called a "bit", numbered 01 ~ 94, in this way to obtain the location map of the GB2312-80, the location map to represent the location of the Chinese character encoding, called the location code.


Internal code: in order to avoid the problem of ambiguity when both ASCII code and National Code are used, most Chinese character systems use each byte height 1 as the internal code of Chinese characters. This not only solves the ambiguity between the Chinese character machine internal code and the Spanish character machine internal code, but also makes the Chinese character machine internal code and the national character code have a very simple ing relationship.

The relationship between the Chinese character machine internal code, the country code, and the location code is: The Location Code Decimal) two bytes are converted to the hexadecimal system and then added 20 h to obtain the corresponding country code; the internal code is the Chinese Character Exchange Code country code) add 1 to the highest bits of the two bytes, that is, the Chinese Character Exchange Code, and add 80 h to the two bytes to obtain the corresponding internal code. The location code is in decimal format) and then add A0H to obtain the corresponding internal code.

Return to the question of using the Alt key. In fact, press and hold the Alt key, and then use the keypad to input a string of numbers, that is, enter the "in-machine code" of a word ". For example, the inner code of the word "bytes" is in the 86B416 hexadecimal format), and the conversion to the 10th hexadecimal format is 34484. Therefore, press and hold the Alt key, and then enter 34484 on the keypad, you can use the word "success.
Finally, because the Chinese characters correspond to the internal machine code one by one, any Chinese character can be entered in this way as long as you know the internal machine code. In addition, there are a lot of symbols, which are also input through this principle.

This article is from the "zhaoyuejin" blog, please be sure to keep this source http://zhaoyuejin.blog.51cto.com/692436/1300371

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.