perl: warning: Setting locale failed.

Problem: Perl setting locale failed in Debian or Ubuntu

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.utf8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

Solution: command fix problem.

aptitude install locales
export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
locale-gen en_US.UTF-8
dpkg-reconfigure locales

 August 16, 2010

 Blog | # # #

qrcode
Facebook Facebook X / Twitter Twitter Telegram Telegram Pinterest Pinterest Email Email

Re-commend-เด็ด ๆ ต่อจาก perl: warning: Setting locale failed.

Check PHP Warning Extension

Check PHP Warning Extension

Ploblem: “PHP Warning: PHP Startup: Unable to load dynamic library ‘./usr/local/lib/php/extensions/no-debug-non-zts-20060613/eaccelerator.so’ - ./usr/..

  • Magicz?~