ubuntu locales 设置中文

apt-get install locales

locale-gen 'zh_CN.UTF-8'

update-locale LC_ALL="zh_CN.UTF-8"

add "export LC_ALL=zh_CN.UTF-8" to vim ~/.bashrc

你可能感兴趣的:(互联网)