summaryrefslogblamecommitdiffstats
path: root/bashrc/common/locale.sh
blob: b337292594de154ed5c51173aa61068ef4892384 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                        
 
                                                        
                                 

                                                         

  
                     
# find a usuable locale

eval unset ${!LC_*} LANG

if locale -a | grep "en_US.UTF-8" 2>&1 >/dev/null ; then
	export LANG="en_US.UTF-8"
elif locale -a | grep "en_US.utf8" 2>&1 >/dev/null ; then
	export LANG="en_US.utf8"
fi

export LC_COLLATE="C"