Thursday, April 8, 2010

Fix the encoding of the Linux in text mode

You may found that some Linux text programs cannot work with UTF-8 (unicode) encoding. For example Midnight Commander (mc) has a lot of problems. Also text configurations tools in Debian have a lot of problems with unicode.

I found that we can change the unicode to en.US ISO to solve these problems by running this command:
dpkg-reconfigure locales