Please check that your locale settings問題

問題描述:bash

perl: warning: Setting locale failed.perl

perl: warning: Please check that your locale settings:di

LANGUAGE = "en_US:en",vi

LC_ALL = (unset),解決方案

LC_CTYPE = "zh_CN.UTF-8",co

LANG = "en_US.UTF-8"ps

are supported and installed on your system.vc

perl: warning: Falling back to a fallback locale ("en_US.UTF-8").

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = "en_US:en",

LC_ALL = (unset),

LC_CTYPE = "zh_CN.UTF-8",

LANG = "en_US.UTF-8"

are supported and installed on your system.

perl: warning: Falling back to a fallback locale ("en_US.UTF-8").

解決方案:

vi /root/.bashrc

再最底部加上

export LC_ALL=C

或者直接運行

echo "export LC_ALL=C" >> /root/.bashrc

而後執行一下:

source /root/.bashrc

做者:vcancy 連接:https://www.jianshu.com/p/32544edd7362 來源:簡書 簡書著做權歸做者全部,任何形式的轉載都請聯繫做者得到受權並註明出處。
相關文章
相關標籤/搜索