Why is LANG set to en_US.UTF-8?

Matthew Miller mattdm at mattdm.org
Wed Jan 19 03:45:23 UTC 2005


On Wed, Jan 19, 2005 at 04:36:06AM +0100, Emmanuel Seyman wrote:
> > Unfortunately, I don't think there's a good way to automatically negotiate
> > this.
> I don't think so, either.
> IIRC, the SSH protocol doesn't negotiate charsets.

You could do something like: 

 
  if [ "$TERM" == "vt100" ]; then
          export LANG=en_US
  fi

though, as a workaround.



-- 
Matthew Miller           mattdm at mattdm.org        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>




More information about the users mailing list