开发者

Perl Locale warning Debian [closed]

Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 10 years ago.

Improve this question
perl: warning: Setting locale failed.
perl: warning: Please check that your local开发者_JS百科e settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en_CA.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

I keep getting this message. I am running Debian on a VPS. I've tried numerous solutions I've found through Google, none have helped. What do I do?


Try setting the locales directly this way, it worked for me on Ubuntu 10.04, just tailor the locales to your needs:

root@hostname:~# export LANGUAGE=en_US.UTF-8
root@hostname:~# export LANG=en_US.UTF-8
root@hostname:~# export LC_ALL=en_US.UTF-8
root@hostname:~# locale-gen en_US.UTF-8

and then:

root@hostname:~# dpkg-reconfigure locales

Hope this can help!


Configuring Locales in Debian: http://people.debian.org/~schultmc/locales.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜