Home > OS >  Centos7 the system language problems
Centos7 the system language problems

Time:12-15

Chinese are small squares, the calculate
The key is I use echo $LANG
According to the result is c

But the locale. Conf inside is:
LANG="zh_CN. Utf-8"


Later again the file, new content is LANG="zh_CN. Utf-8"

But the use of command echo $LANG view, is en_US. Utf-8

My system is mad??

Why ah?

CodePudding user response:

Desktop environment, can show Chinese, pure terminal mode shows that Chinese can be achieved, but a lot of software has stopped maintenance, poor compatibility,
1, yum groupinstall Chinese - support
2, can be in setting Region& To Chinese Language Settings,
3, vi ~/bashrc add export LANG="zh_CN. Utf-8

CodePudding user response:

Modify compile format
  • Related