Skip to content

JamesHoi/pane-fixer-centos

Repository files navigation

pane-fixer-centos

修复Centos图形界面中文乱码,亲测在Centos7.5环境下有效
csdn博客:https://blog.csdn.net/baidu_38635190/article/details/88922732

如何修复

git clone https://github.com/JamesHoi/pane-fixer-centos.git
cd pane-fixer-centos
chmod +x install.sh
./install.sh
将以上命令输入到centos终端即可
(总共25M左右,等待时间可能较长)

题外话(个人笔记)

如何查看当前系统所使用语言包?

locale

如何将系统语言改为中文?

yum install kde-l10n-Chinese
vim /etc/sysconfig/i18n
将文件内容修改为 LANG="zh_CN.UTF-8"
source /etc/sysconfig/i18n
vim /etc/locale.conf
将文件内容修改为 LANG="zh_CN.UTF-8"
然后重启一下reboot

如何将系统语言改为英文?

vim /etc/sysconfig/i18n
将文件内容修改为 LANG="en_US.UTF-8"
source /etc/sysconfig/i18n
vim /etc/locale.conf
将文件内容修改为
LANG="en_US.UTF-8"
LANGUAGE="en_US:en"
然后重启一下reboot

About

修复centos图形界面中文字乱码□

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages