acdsn:locales
                This is an old revision of the document!
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 LANG=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.1392837079.txt.gz · Last modified: 2014/02/19 19:11 by sbolay