[CentOS] Terminal settings

Thu May 1 18:07:58 UTC 2014
Ashley M. Kirchner <ashley at pcraft.com>

So this has been bugging me for a few years now and I can always "fix" the
problem, but I don't know if that's actually the correct way. So the issue
is terminal emulation. I use Secure CRT (vandyke.com) to connect to any and
all of my servers through SSH. Whether the terminal is set to 'linux' or
'xterm' makes no difference, I always get this output when I run a 'tree'
command (and others that have some sort of graphical output):

[13] 05:04:53 <root at brasco:~> tree rpmbuild/
rpmbuild/
â”── BUILD
│   └── ncftp-3.2.5
│       â”── autoconf_local
│       │   â”── acconfig.h
│       │   â”── aclocal.m4
│       │   └── aclocal.m4.ncursesw
│       â”── bin
│       │   â”── ncftp
│       │   â”── ncftpbatch
│       │   â”── ncftpbookmarks
│       │   â”── ncftpget
│       │   â”── ncftpls
│       │   â”── ncftpput
│       │   └── ncftpspooler -> ncftpbatc

Now, the way I fix that is by changing the LANG setting. By default it's
set to 'en_US.UTF-8' right after a fresh install. If I change that to
simply 'en_US', then I get the output I'm expecting:

[16] 05:06:14 <root at brasco:~> tree rpmbuild/
rpmbuild/
|-- BUILD
|   `-- ncftp-3.2.5
|       |-- autoconf_local
|       |   |-- acconfig.h
|       |   |-- aclocal.m4
|       |   `-- aclocal.m4.ncursesw
|       |-- bin
|       |   |-- ncftp
|       |   |-- ncftpbatch
|       |   |-- ncftpbookmarks
|       |   |-- ncftpget
|       |   |-- ncftpls
|       |   |-- ncftpput
|       |   `-- ncftpspooler -> ncftpbatch
...

So my question is: why is that? Why would the default setting not work? Is
it actually something that I need to be doing on the server (like changing
the LANG setting), or is it with SecureCRT? And if so, can anyone give me
any suggestions of what I need to be looking for and change?

Like I said, it's been a couple of years and it's never a big deal since I
know what to do to sort of fix the problem.

Thanks.