Solution to Chinese garbled characters in redhat5.4

Source: Internet
Author: User
Tags i18n

I started using vmware6.5, but I couldn't pack it in Chinese. Although I could replace it with Chinese, all Chinese were hexadecimal boxes, which bothered me for a long time.

I just switched to vmware7.0. After installing VMware Tools, I started to solve the Chinese Garbled text problem and found the following content on the Internet: after installation, the problem is that Chinese characters and Chinese characters cannot be displayed in full English. You need to find two Chinese Character packages on the CD to install them. The file name is as follows, Note that different versions of files may have different numbers, It indicates the version number. the following is the name of the Chinese package in Red Hat Enterprise Linux 5.0. in the/Server/folder of the ISO file, double-click the fonts-chinese-3.02-9.6.el5.noarch.rpm fonts-ISO8859-2-75dpi-1.0-17.1.noarch.rpm and run them to modify the/etc/sysconfig/i18n file, such as lang = "en_us", XWindow displays the English interface, lang = "zh_cn.gb18030", XWindow displays the Chinese interface. You can also click system toolbar-> system-> Management-> language to change to Chinese (PRC). I didn't use this method. Instead, I used to log out and select a language to enter, I think this should be safe. Install the Chinese Input Method, Find the following file (also in the/Server folder ): Scim-libs-1.4.4-41.el5.i386.rpm Scim-1.4.4-41.el5.i386.rpm Scim-chinese-standard-0.0.2-1.el5.i386.rpm Scim-tables-0.5.6-7.i386.rpm Scim-tables-chinese-0.5.6-7.i386.rpm Scim-pinyin-0.5.91-16.el5.i386.rpm Double-click them and remember to run them in the order above, because there is a dependency between them. I encountered a small problem in searching for these RPM files: I downloaded the English version for the first time. I tried it several times and did not find the/server. Later I changed one to find the folder. I did not double-click the installation process, but installed it using the command line: rpm-IVH command. I Need To summarize these commands later! Reprinted statement:This article from http://blog.sina.com.cn/s/blog_51a5e61a0100h3x2.html Note: RedHat modify i18n

Simplified Chinese: [root @ Linux ~] # More/etc/sysconfig/i18nlang = "zh_cn.gb18030" Language = "zh_cn.gb18030: Bytes: zh_cn" supported = "zh_CN.UTF-8: zh_cn: Zh: zh_TW.UTF-8: zh_tw: Zh: en_US.UTF-8: en_us: en "sysfont =" lat0-sun16 "Chinese traditional: [root @ Linux ~] # More/etc/sysconfig/i18nlang = "en_US.UTF-8" supported = "zh_CN.UTF-8: zh_cn: Zh: zh_TW.UTF-8: zh_tw: Zh: en_US.UTF-8: en_us: en"
Sysfont = "latarcyrheb-sun16" English: [root @ Linux ~] # More/etc/sysconfig/i18nlang = "zh_TW.UTF-8" upported = "zh_CN.UTF-8: zh_cn: Zh: zh_TW.UTF-8: zh_tw: Zh: en_US.UTF-8: en_us: en"
Sysfont = "lat0-sun16"

========================================================== ======================== Solution to RedHat Enterprise 5 garbled Chinese Characters in VMware 6.5 This is the case. Remember that we installed RedHat on Vmware 5.5.3 in the past. It was estimated that it was 9. At the beginning, I chose a graphical interface, and the installation process was also man-machine interaction, there are options available for me. Now VMWare has changed to 6.5, and we found that all of them have changed to automatic installation when installing RedHat Enterprise 5. I wanted to change VMware to a more advanced one, so I was very happy, on other machines, I used the same image with vmware5.5.3, which not only included the installation process, but also showed Chinese characters, after I create a VM and attach an image, everything seems to be fully automated, and the final interface is still in English. Although Linux wants to learn the character interface, it is always unwilling, I will share with you the problems and solutions I have encountered ,{
Window. Open ("http://blog.51cto.com/viewpic.php? Refimg = "+ this. SRC)
} 'Src = "http://img1.51cto.com/attachment/200904/18/644976_1240031916mM74.jpg" border = "0" alt = "clip_image002" Height = "401"> This is how I installed the system {
Window. Open ("http://blog.51cto.com/viewpic.php? Refimg = "+ this. SRC)
} 'Src = "http://img1.51cto.com/attachment/200904/18/644976_1240031919e3xV.jpg" border = "0" alt = "clip_image004" Height = "402"> select a language change and try it {
Window. Open ("http://blog.51cto.com/viewpic.php? Refimg = "+ this. SRC)
} 'Src = "http://img1.51cto.com/attachment/200904/18/644976_1240031921YjXO.jpg" border = "0" alt = "clip_image006" Height = "380"> I can see this Chinese, I changed it to Chinese and restarted, it turns all the Chinese characters into small boxes. It's called a block {
Window. Open ("http://blog.51cto.com/viewpic.php? Refimg = "+ this. SRC)
} 'Src = "http://img1.51cto.com/attachment/200904/18/644976_1240031923O1xm.jpg" border = "0" alt = "clip_image008" Height = "454"> enter your username and password and change it to English {
Window. Open ("http://blog.51cto.com/viewpic.php? Refimg = "+ this. SRC)
} 'Src = "http://img1.51cto.com/attachment/200904/18/644976_1240031926axp8.jpg" border = "0" alt = "clip_image010" Height = "402"> after the change, the position has changed, but fortunately I remember your icon {
Window. Open ("http://blog.51cto.com/viewpic.php? Refimg = "+ this. SRC)
} 'Src = "http://img1.51cto.com/attachment/200904/18/644976_1240031928kzBF.jpg" border = "0" alt = "clip_image012" Height = "380"> change back to English, at least better than the square {
Window. Open ("http://blog.51cto.com/viewpic.php? Refimg = "+ this. SRC)
} 'Src = "http://img1.51cto.com/attachment/200904/18/644976_1240031930I4Zp.jpg" border = "0" alt = "clip_image014" Height = "272"> {
Window. Open ("http://blog.51cto.com/viewpic.php? Refimg = "+ this. SRC)
} 'Src = "http://img1.51cto.com/attachment/200904/18/644976_1240031932LDk3.jpg" border = "0" alt = "clip_image016" Height = "162"> honestly, after restarting, I tried a lot of methods and tried n times. /etc/sysconfig/i18n is set
Lang = "zh_cn.gb18030"
Language = "zh_cn.gb18030: zh_cn.gb2312: zh_cn"
Supported = "zh_cn.gb18030: zh_cn: Zh: en_US.UTF-8: en_us: en"
Sysfont = "lat0-sun16" or a similar change to the lang = content after a circle, finally still the box final solution to find the redhatlinux 9 installation image, I guess there are similar RPM packages in enterprise 5, but I don't know which one is. Find the third installation image ,{
Window. Open ("http://blog.51cto.com/viewpic.php? Refimg = "+ this. SRC)
} 'Src = "http://img1.51cto.com/attachment/200904/18/644976_1240031934oygj.jpg" border = "0" alt = "clip_image018" Height = "92"> hanging [root @ localhost ~] # Mount/dev/CDROM/mnt/cdrommount: block device/dev/CDROM is write-protected, mounting read-only [root @ localhost ~] # Cd/mnt/CDROM [root @ localhost CDROM] # lseula GPL RedHat RPM-GPG-KEY trans. TBL [root @ localhost CDROM] # cd RedHat [root @ localhost RedHat] # lsrpms trans. TBL [root @ localhost RedHat] # cd RPMs [root @ localhost RPMs] # rpm-IVH ttfonts-zh_CN-2.14-6.noarch.rpm {
Window. Open ("http://blog.51cto.com/viewpic.php? Refimg = "+ this. SRC)
} 'Src = "http://img1.51cto.com/attachment/200904/18/644976_12400319360I81.jpg" border = "0" alt = "clip_image020" Height = "94"> [root @ localhost RPMs] # rpm-IVH iiimf-le-chinput-0.3-16.i386.rpm -- aid {
Window. Open ("http://blog.51cto.com/viewpic.php? Refimg = "+ this. SRC)
} 'Src = "http://img1.51cto.com/attachment/200904/18/644976_1240031937sjKi.jpg" border = "0" alt = "clip_image022" Height = "92"> [root @ localhost RPMs] # rpm-IVH iiimf-x-12.1-10.EL.i386.rpm {
Window. Open ("http://blog.51cto.com/viewpic.php? Refimg = "+ this. SRC)
} 'Src = "http://img1.51cto.com/attachment/200904/18/644976_1240031939yvQX.jpg" border = "0" alt = "clip_image024" Height = "108"> there is an error Yeah [root @ localhost RPMs] # rpm-IVH iiimf-gnome-im-switcher-12.1-10.EL.i386.rpm {
Window. Open ("http://blog.51cto.com/viewpic.php? Refimg = "+ this. SRC)
} 'Src = "http://img1.51cto.com/attachment/200904/18/644976_1240031940jaPg.jpg" border = "0" alt = "clip_image026" Height = "97">

[Root @ localhost RPMs] # service iiim status
Iiim: unrecognized service
[Root @ localhost RPMs] #

Restart reboot later {
Window. Open ("http://blog.51cto.com/viewpic.php? Refimg = "+ this. SRC)
} 'Src = "http://img1.51cto.com/attachment/200904/18/644976_1240031944Qlf5.jpg" border = "0" alt = "clip_image030" Height = "347"> {
Window. Open ("http://blog.51cto.com/viewpic.php? Refimg = "+ this. SRC)
} 'Src = "http://img1.51cto.com/attachment/200904/18/644976_1240031946NSef.jpg" border = "0" alt = "clip_image032" Height = "454"> {
Window. Open ("http://blog.51cto.com/viewpic.php? Refimg = "+ this. SRC)
} 'Src = "http://img1.51cto.com/attachment/200904/18/644976_1240031948b2OW.jpg" border = "0" alt = "clip_image034" Height = "165"> {
Window. Open ("http://blog.51cto.com/viewpic.php? Refimg = "+ this. SRC)
} 'Src = "http://img1.51cto.com/attachment/200904/18/644976_124003194963v6.jpg" border = "0" alt = "clip_image036" Height = "401"> check it again.

I have extracted these RPM packages, and around 10 MB of attachments won't be passed in. If you don't have a RedHat 9 installation image, leave a mailbox to send it to you, I hope it will help you.

Finally, we can add that this problem has long been no longer a problem. In fact, VMWare is automatically installed in the expert mode by default, and the English language is automatically selected. software packages such as GCC are not installed,
To put it simply, I still don't know much about VMware,
For more information, see
Http://yuzeying.blog.51cto.com/644976/192900
In this way, there is no need for those software packages.Reprinted statement: This article from http://yuzeying.blog.51cto.com/644976/150986

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.