From c66a7e4406589b162127ccf4343a4a80b69698de Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Tue, 24 Feb 2009 09:12:47 +0000 Subject: [PATCH] bash_profile: Don't set LESSCHARSET explicitly. It does a good enough job by itself, it seems. And pattern matching LC_CTYPE is something of a lost cause, given the number of possibilities. --- bash_profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash_profile b/bash_profile index a7c69f7..5b46a34 100644 --- a/bash_profile +++ b/bash_profile @@ -145,7 +145,7 @@ export PAGER=`type -p less` METAMAIL_PAGER=`type -p less` export LESS="-iqgRh1FX" export LESSOPEN="|lesspipe.sh %s" case "$LC_CTYPE" in - *utf8*) LESSCHARSET=utf-8 ;; + *utf8 | *utf-8 | *UTF8 | *UTF-8) LESSCHARSET=utf-8 ;; *) LESSCHARSET=latin1 ;; esac export LESSCHARSET -- 2.11.0