这个和linux系统默认编码有关,如ubuntu配置以下。linux
vi /etc/profile ,修改编码ubuntu
export LC_ALL=en_US.UTF-8编码
source /etc/profile配置