SecureCRT is connected to Ubuntu with garbled characters. I found a lot of information on the Internet and did not provide the complete answer. Later I referred to the configuration on the company's HP Server: LANG = CLC_CTYPE = "C" LC_COLLATE = "C" LC_MONETARY = "C" LC_NUMERIC = "C"
SecureCRT is connected to Ubuntu with garbled characters. I found a lot of information on the Internet and did not provide the complete answer. Later I referred to the configuration on the company's HP Server:
- LANG = C
- LC_CTYPE ="C"
- LC_COLLATE ="C"
- LC_MONETARY ="C"
- LC_NUMERIC ="C"
- LC_TIME ="C"
- LC_MESSAGES ="C"
- LC_ALL =
In this association, I want to modify locale on the local ubuntu, the path is/etc/default/locale, And I want to change LC_ALL = en. US_UTF-8, tested a CRT, the result is still garbled, and then modified the CRT configuration, the original default, changed to the UTF-8 as follows:
Run CRT again, and the result is "?" in Chinese ?? No:
Finally, you can use the clone session method to get the correct display of Chinese results, probably because I have a global options method that is default, so each clone session can be:
After cloning the session, the interface becomes Chinese :)
If you do not want to modify LC_ALL, you can also modify the part. My local machine is as follows:
- LANG = en_US.UTF-8
- LANGUAGE = en
- LC_CTYPE = en_US.UTF-8
- LC_NUMERIC = zh_CN.UTF-8
- LC_TIME = zh_CN.UTF-8
- LC_COLLATE = en_US.UTF-8
- LC_MONETARY = zh_CN.UTF-8
- LC_MESSAGES = en_US.UTF-8
- LC_PAPER = zh_CN.UTF-8
- LC_NAME = zh_CN.UTF-8
- LC_ADDRESS = zh_CN.UTF-8
- LC_TELEPHONE = zh_CN.UTF-8
- LC_MEASUREMENT = zh_CN.UTF-8
- LC_IDENTIFICATION = zh_CN.UTF-8
- LC_ALL =
The specific meanings of these LC are not described here. You can view other documents.