summaryrefslogtreecommitdiffstats
path: root/bashrc/net/zedat.fu-berlin.de/locale.sh
blob: e385de012227dc415b718d93bf7bfc4ec4fb2f45 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# find a usuable locale
eval unset ${!LC_*} LANG

if hash locale >/dev/null 2>&1 ; then
    if locale -a | grep "en_US.iso885915" >/dev/null 2>&1 ; then
	    export LANG="en_US.iso885915"
    elif locale -a | grep "en_US.iso88591" >/dev/null 2>&1 ; then
	    export LANG="en_US.iso88591"
    fi
fi

export LC_COLLATE="C"