How to solve the garbled File name in linux
This article mainly explains "how to solve linux Chinese file name garbled". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Next let the editor to take you to learn "linux Chinese file name garbled how to solve" it!
Linux Chinese file name garbled solution: 1, download and install "fonts-chinese-3.02-12.el5.noarch.rpm" and "fonts-ISO8859-2" language pack; 2, modify / etc/sysconfig/i18n;3, restart.
Operating environment of this paper: linux5.9.8 system, Dell G3.
Linux Chinese file name garbled how to do?
Linux Chinese file name garbled resolution
Because the English version of the system does not support Chinese, the Chinese file name is garbled. Install Chinese support on centos when doing the following.
1) download and install two language packs first:
Fonts-chinese-3.02-12.el5.noarch.rpmfonts-ISO8859-2-75dpi-1.0-17.1.noarch.rpm#rpm-ivh fonts-chinese-3.02-12.el5.noarch.rpm#rpm-ivh fonts-ISO8859-2-75dpi-1.0-17.1.noarch.rpm
Or
# yum install fonts-chinese-3.02-12.el5.noarch.rpm#yum install fonts-ISO8859-2-75dpi-1.0-17.1.noarch.rpm
2) modify / etc/sysconfig/i18n
Cut out the original comment and copy this thing in.
LANG= "zh_CN.GB2312" SUPPORTED= "zh_CN.GB2312:zh_CN.UTF-8:zh_CN:zh:en_US.UTF-8:en_US:en" SYSFONT= "latarcyrheb-sun16"
3) ok will be rebooted at last.
At this point, I believe that everyone on the "linux Chinese file name garbled how to solve" have a deeper understanding, might as well to the actual operation of it! Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!