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.