Solve the Problem of Ubuntu garbled by secureCRT connection

Source: Internet
Author: User
Tags hp server
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:

  1. LANG = C
  2. LC_CTYPE ="C"
  3. LC_COLLATE ="C"
  4. LC_MONETARY ="C"
  5. LC_NUMERIC ="C"
  6. LC_TIME ="C"
  7. LC_MESSAGES ="C"
  8. 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:

  1. LANG = en_US.UTF-8
  2. LANGUAGE = en
  3. LC_CTYPE = en_US.UTF-8
  4. LC_NUMERIC = zh_CN.UTF-8
  5. LC_TIME = zh_CN.UTF-8
  6. LC_COLLATE = en_US.UTF-8
  7. LC_MONETARY = zh_CN.UTF-8
  8. LC_MESSAGES = en_US.UTF-8
  9. LC_PAPER = zh_CN.UTF-8
  10. LC_NAME = zh_CN.UTF-8
  11. LC_ADDRESS = zh_CN.UTF-8
  12. LC_TELEPHONE = zh_CN.UTF-8
  13. LC_MEASUREMENT = zh_CN.UTF-8
  14. LC_IDENTIFICATION = zh_CN.UTF-8
  15. LC_ALL =

The specific meanings of these LC are not described here. You can view other documents.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.