What should I do if Chinese is not displayed under centos system?

王林
Release: 2020-03-27 17:06:10
Original
5779 people have browsed it

What should I do if Chinese is not displayed under centos system?

1. View the current system language

Enter echo $LANG to view the currently used system language. Such as

What should I do if Chinese is not displayed under centos system?

(recommended tutorial: centos tutorial)

2. Check the installed language package

to see if There is a Chinese language pack. You can enter the locale command in the terminal. If there is zh cn, it means that the Chinese language has been installed.

What should I do if Chinese is not displayed under centos system?

3. If there is no Chinese language, you can download and install the Chinese language package from the Internet.

yum groupinstall chinese-support
Copy after login

4. Modify the system default language

Vi  /etc/sysconfig/i18n
Copy after login

(Be careful to restart the system after changing it)

LANG="zh_CN.UTF-8"
Copy after login

5. Restart the system.

Recommended related video tutorials: linux video tutorial

The above is the detailed content of What should I do if Chinese is not displayed under centos system?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template