acdsn:locales
Table of Contents
Setting locales
The problem
~$ ./sync.pl
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "fr_CH.ISO8859-1"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
The solution
add in ~/.bashrc
export LC_ALL=C
if necessary, create the ~/.profile file
# cat .profile
# ~/.profile: executed by Bourne-compatible login shells.
if [ "$BASH" ]; then
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
fi
mesg n
acdsn/locales.txt · Last modified: 2015/11/09 11:58 by sbolay