After installing RedHat with VM found no Chinese, found a solution or in the edited file/etc/sysconfig/i18n LANG = "en_US.UTF-8" for LANG = "zh_CN.UTF-8 ", after the system is restarted, many areas are displayed as blocks. How can this problem be solved? This is the problem with the incorrect settings of the Chinese Character Set solution: Download a package containing a variety of Chinese fonts, http://www.q-sheng.com
After installing RedHat with VM, I found no Chinese characters and found a solution.
Or in the edited file/etc/sysconfig/i18n in the lang = "en_US.UTF-8" for LANG = "zh_CN.UTF-8", after the system is restarted many places also show for the square, how to solve?
This is a problem where the Chinese character set is not correctly set.
Solution:
Download a package containing a variety of Chinese fonts, http://www.q-sheng.com/share/fonts.tar.gz (THUNDER download) download library, decompress to Linux System Disk usr \ share \ fonts directory.
Command is
$ Su
Password:
# Tar-xvzf fonts.tar.gz/usr/share/fonts
The package contains wenquanyi and various Chinese fonts.
Then restart the system. When entering the account and password, note that there is a Language option below. Click Select Chinese (China Mainland), then click Change Language, and then log on to the system.
When I used this method, there were two issues worth your attention:
1. I am a beginner. I don't know why, but I didn't decompress the package using commands. Then I right-click Open with "Archive Manager"-> Open Archive-> Extract in the window menu bar, select the decompressed location/usr/share/fonts and click the Extract button. (You can also right-click Extract Here and copy the extracted fonts folder to/usr/share/fonts)
2. note: The decompressed folder is a fonts folder containing three folders: truetype, type1, and X11. Do not be clever. Put these three folders in/usr/share/fonts, instead, you should put the decompressed fonts folder in/usr/share/fonts. In this way, you will learn to use RedHat Linux 5 to display Chinese characters.