ubuntu

docker ubuntu不支持中文 、中文乱码

运行locale -a如下图,表示没安装中文支持运行apt install language-pack-zh-hans -y安装中文支持再运行locale -a这里多了zh_CN.utf8运行echo "export LC_ALL=zh_CN.utf8" >>~/.bashrcsource ~/.bashrc