添加指令:
locale-gen zh_CN.UTF-8
更新字符集:
sudo locale-gen
设置当前用户编码:
export LANG=zh_CN.UTF-8
设置系统编码:
在/etc/profile末尾添加一行
export LANG=zh_CN.UTF-8
添加指令:
locale-gen zh_CN.UTF-8
更新字符集:
sudo locale-gen
设置当前用户编码:
export LANG=zh_CN.UTF-8
设置系统编码:
在/etc/profile末尾添加一行
export LANG=zh_CN.UTF-8