1. Temporarily modify the locale
export LC_ALL=zh_CN.GBK
LANG=zh_CN.GBK
2. Permanently modify
Excuting an order
echo 'LANG=zh_CN.UTF-8' > /etc/sysconfig/i18n echo 'LC_ALL=zh_CN.UTF-8' >> /etc/sysconfig/i18n
Restart the server (this step is very important)