When using the CentOS system, you may encounter the English CentOS system during installation. In this case, the CentOS system is installed by default (ie English). After the installation is completed, various Chinese garbled characters appear. So how do we solve this problem?
First, the CentOS system access g.cn, found Chinese garbled.
So in the previous way: yum -y install fonts-chinese CentOS system installation, still can not display Chinese fonts. I use gedit to edit the source code, and its Chinese comments are also garbled.
Later, I finally found the following method to solve, need two Chinese-supported packages: fonts-chinese-3.02-12.el5.noarch.rpm ftp://ftp.muug.mb.ca/mirror/Centos/5.4/os/x86_64/CentOS/fonts-chinese-3.02-12.el5.noarch.rpm
fonts-ISO8859-2-75dpi-1.0-17.1.noarch.rpm ftp://ftp. Muug.mb.ca/mirror/centos/5.4/os/x86_64/CentOS/fonts-ISO8859-2-75dpi-1.0-17.1.noarch.rpm One is a Chinese font and the other is a font display package.
After downloading, install it on the command line: #rpm -ivh XXXX (XXXX represents the full name of the two packages above, rpm will not know how to use it?) After the CentOS system is installed, restart it. can.
Second, the terminal, gedit shows garbled
#vi /etc/sysconfig/i18n will LANG="en_US.UTF-8" SYSFONT="latarcyrheb-sun16" modify the original content as LANG="zh_CN.GB18030" LANGUAGE="zh_CN.GB18030:zh_CN.GB2312:zh_CN" SUPPORTED="zh_CN.UTF-8:zh_CN:zh:en_US.UTF-8:en_US:en" SYSFONT=" Lat0-sun16"
Install Chinese fonts with yum #yum install fonts-chinese.noarch system -> logout Logout When you log back in to the CentOS system, you will find that all interfaces have changed from English to Chinese. Enter the date command test at the terminal #date Monday, November 24, 2009 12:07:00 CST
Third, in ssh, telnet terminal Chinese display garbled solution (CentOS 5.3)
#vi /etc/sysconfig/i18n Modify the original content LANG="en_US.UTF-8" SYSFONT="latarcyrheb-sun16" to LANG="zh_CN.GB18030" LANGUAGE="zh_CN.GB18030:zh_CN.GB2312 :zh_CN" SUPPORTED="zh_CN.UTF-8:zh_CN:zh:en_US.UTF-8:en_US:en" SYSFONT="lat0-sun16"
Install Chinese fonts with yum #yum install fonts -chinese.noarch Disconnect ssh and reconnect. Enter the date command in the terminal to test #date Monday, November 24, 2009 12:09:00 CST
4. Use Chinese input method in CentOS system 5.3 Br>
My previous method was to install the Penguin version, see next page. Here, there is one more simple, just use yum to install SCIM. Command line input: #yum install scim #yum install scim-pinyin Restart X (Ctrl+Alt+Backpace) or logout (logout).
Ok, you can type in Chinese. The problem of Chinese garbled in the CentOS system is solved.
When doing the experiment, we burned the bin file into the SD card, such as the previous assembly fl
How to uninstall the built-in JDK under Linux, many of us can find java under the operating system
For ease of use, we will save the Xshell session. How to transfer the session information saved on
This article describes the solution when encountering is not in the sudoers file during Linux use. W
The use of regular expressions and grep commands under Linux
A Shell tool: jsondiff.sh Using the basic tutorial
How to implement DNS service under Linux
Solve the situation where the graphic in Ubuntu details is unknown.
Several system failures and solutions
PDF helper under Linux system LinuxPDFeditor
Let Linux boot automatically open NUMLOCK
Two ways to modify the Linux system 22 first port of
Desktop Linux opportunities come
Counting "unfinished" non-open source software on Linux platforms
Linux multi-cpu load balancing - thread migration
Linux dual NIC bonding (loading) for load balancing or failover
Win8.1 change public network and private network graphic tutorial
Reasons and solutions for Windows desktop not showing after antivirus
Windows XP system computer can not shut down
Method for forcibly ending the process command under Windows 7 system
How to play the default input method in the win10 system?
Introduction to the three major application skills of the control panel in Win7 system
Master share: win8 system settings refresh
Share how to make your W8 system run faster (2)
cad did not save how to retrieve
Which apk application software can win10 mobile 10066 install?