Garbled characters appear in linux (reprinted for reference)
Source: Internet
Author: User
Garbled characters appear in linux (reprinted for reference)-Linux general technology-Linux technology and application information. The following is a detailed description. Most of the time, you will find that what is garbled after I enter the command? This is different from what laruence says! Haha! Don't be nervous. Linux supports multi-country languages. If possible, the screen information will be output by the Supported languages. However, our terminal interface (terminal) cannot support output of data encoded in Chinese by default. At this time, we have to change the support language to English to display the correct information. What should we do? You can do this:
[Root @ linux ~] # LANG = en
[Root @ linux ~] # LANGUAGE = en
[Root @ linux ~] # LC_ALL = en
[Root @ linux ~] # LC_CTYPE = en
[Root @ linux ~] # LC_TIME = en
Note that each line of commands above is connected with the equal sign "=" and there is no space on both sides of the equal sign! Continuous input! In this way, you can view the English message in "This login ?? Why? How can I cut this stool ?? Why ?? ? After inux, the commands just issued are useless!
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.