docker本地化异常:/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)

docker中常常设置不了 环境变量$LC_ALL,  致使报不少奇怪的编码错误:html

/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)docker

解决方法: 编码

 sudo localedef -i en_US -f UTF-8 en_US.UTF-8htm

https://www.cnblogs.com/ifantastic/p/4565822.htmlblog

相关文章
相关标签/搜索