Linux characters

1. 修改系统级字符集:修改/etc/sysconfig/i18n
英文版系统:
LANG="en_US.UTF-8"
SYSFONT="latarcyrheb-sun16"
中文版系统:
LANG="zh_CN.UTF-8"
SYSFONT="latarcyrheb-sun16"
 
2. 英文版系统支持中文字符集:
yum install fonts-chinese
 
3. 修改进程级字符集:
英文:export LANG=en_US.UTF-8
中文:export LANG=zh_CN.UTF-8
 
4. temporary change system characters
A. export LANG="en_US.UTF-8"
B. change config file .bash_profile
add:
export LANG="en_US.UTF-8"

export LC_ALL="en_US"

Comments

Popular posts from this blog

Nginx Proxy & Load Balance & LNMP

Linux RHCE Preparation

Snort+barnyard2+Snorby CentOS 6.5_64 Installation