Perl is error: perl: warning: Se

2018-06-13  本文已影响10人  keaidelele

That is to say the system could not recognize the Chinese Language version of perl.

We should download the Chinese version of it.

Here is the reliable method to solve this problem:

https://blog.csdn.net/permike/article/details/54576417

  1. Test with following command:
perl -e exit

Enter and the error output:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "zh_CN.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
  1. Install Chinese language in the system
apt-get install language-pack-zh-hans
上一篇 下一篇

猜你喜欢

热点阅读