Traditional Culture Encyclopedia - Traditional stories - When programming, should I use ch Chinese (China) input method or en (English) American input method when inputting English or codes?
When programming, should I use ch Chinese (China) input method or en (English) American input method when inputting English or codes?
But Chinese input, even English input, is sometimes not in the form of ASCII code, so it will cause program problems. So, just to be on the safe side, I have also developed a fixed habit, whether it is to show English to foreigners when making a web page, or to program with Delphi, or other programming. When you meet the English part, you will convert it into English input instead of English input in Chinese input, which will avoid a lot of unnecessary trouble.
In Chinese input method, there are full angle and half angle. In fact, the half angle is in the form of ASCII code, that is, a character in Chinese is the same as a character in ASCII code, so it is no problem to input English. However, Chinese full-width is one of the two ASCII codes used in Chinese characters. If you use this Chinese input method to input English, there will be problems in programming. When you say "like ABC"&; The two characters "abc" can correctly display "because you use Chinese input method to input English, and you use half angle.
For example:
English input
Half angle: a b D F These are the same as English.
Full angle: a b D G F
See the difference?
(Supplement: Baidu can't display it here, try it yourself)
In short, remember that in web pages and programming, as long as you encounter English input, the best way is to convert it into pure English input.
- Previous article:What does Japan believe in?
- Next article:Ask the ancients for the title of the old man.
- Related articles
- Tanabata is a holiday for what?
- Quotes and Sayings about Perseverance
- What are the artistic characteristics of arts and crafts in Qin and Han Dynasties?
- What is the plague?
- Explanation of fan umbrella
- In the second phase, a large number of Thai translations were made. As for Thai magazines and advertisements, try to translate as much as possible.
- What is the most powerful virus on Earth?
- In 195, Ren Jingfeng, the owner of Fengtai Photo Studio in Beijing, photographed his birthday with Tan Xinpei, a famous Beijing opera star.
- General Knowledge of Language and Literature Summarized
- The evolution of French clothing