From 10170f1b7b23358001eda9cc47edac04af739dc9 Mon Sep 17 00:00:00 2001 From: Gea-Suan Lin Date: Sun, 20 Nov 2011 07:26:50 +0800 Subject: [PATCH] If LANG is empty then set to UTF-8 --- .bashrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.bashrc b/.bashrc index 5f2ed93..fee462b 100644 --- a/.bashrc +++ b/.bashrc @@ -33,6 +33,9 @@ export LSCOLORS="gxfxcxdxbxegedabagacad" export PATH="/usr/local/sbin:/usr/sbin:/sbin:$PATH" export PERL_CPANM_OPT="--mirror http://cpan.nctu.edu.tw/ --mirror http://cpan.cpantesters.org/" # +if [ -z "${LANG}" ]; then + export LANG="en_US.UTF-8" +fi if [ -x /usr/local/bin/most -o -x /usr/bin/most ]; then export PAGER="most" else