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!
Related Article

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.