How to display Chinese Characters in RedHatLinux5

Source: Internet
Author: User
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.

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.