Garbled characters in red hat linux 9.0

Source: Internet
Author: User
Tags i18n

After installing red hat linux 9.0, the default language selected is Chinese. As a result, some inexplicable garbled characters often appear on the terminal interface, sometimes under VI, and sometimes system prompts, which are annoying.

The solution is as follows:

 

Note: The following # is a command prompt.

Method 1:
# Locale (the locale command is used to view the detailed information of the language used, which is a Chinese language)
# Export lc_all = POSIX (the Export command exports and modifies the lc_all language option)
# Locale (check again, the information has changed)

This method will expire after the user logs out or restarts. To save the settings, see method 2.

 

Method 2:
# Vi/etc/sysconfig/i18n

Write lc_all = POSIX to the last line of the i18n configuration file.

Service cancellation or restart takes effect permanently.

Link: http://www.linuxidc.com/Linux/2007-09/7912.htm

 

No problem currently.

 

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.