Change locale on Ubuntu to make MC usable with a non utf-8 capable terminal
I like to use OpenSSH for Windows on my XP box, but unfortunately it does not understand utf-8.
Ubuntu, however forces utf-8.
balint@s-xxx:~$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
All we need to do is to remove the '.UTF-8' from all listings, by inserting the following lines into our .bashrc (or the configuration file of the shell we use):
export LANG=en_US
export LC_ALL=en_US
Comments
Just use PuTTY that does support Unicode.
alexIf you want many more characters to support,
Janaka VishwajithYou can change this to ISO-8859-1
you can just change it under root user,
locale-gen en_GB
update-locale LANG=en_GB.ISO-8859-1
Have fun..
Just use PuTTY that does support Unicode.
alexIf you want many more characters to support,
Janaka VishwajithYou can change this to ISO-8859-1
you can just change it under root user,
locale-gen en_GB
update-locale LANG=en_GB.ISO-8859-1
Have fun..