# 查看当前字符集
localectl status
# 设置字符集
localectl set-locale LANG=zh_CN.UTF-8
echo $LANG