Garbled characters in RedHat9Linux command mode

Source: Internet
Author: User
Today, we installed RedHat9.0, which is hard to install. Because the default language selected when installing Redhat9Linux is Chinese, garbled characters may occur on the Character interface. The following figure shows the solution to garbled characters on the Character interface. Note: # For command prompt Method 1: # locale (the locale command is used to view detailed information about the language used, which is a Chinese language) # exportLC_ALL = POSIX (export command export and modify LC_AL

Today, I installed RedHat 9.0, which is hard to install. Because the default language I chose when installing Redhat 9 Linux is Chinese, garbled characters may occur on the Character interface. The following is a solution record for garbled characters on the Character interface:

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)

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

Method 2:

# Vi/etc/sysconfig/i18n (use the vi editor to modify the configuration file i18n)

Write LC_ALL = posix to the i18n configuration file. Service cancellation or restart takes effect permanently.

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.