"Linux" some command and encoding settings

Source: Internet
Author: User
One, SECURECRT settings display input chinese

SECURECRT is a CentOS system connected to Linux. Virtual machines. found that Chinese characters input and display are garbled.

First in the SECURECRT, the Appearance-"window-" is set to, the new song body, the Chinese GB2312. Discovery can display Chinese, but still cannot enter Chinese.

Then you need to hit the following command

Export  lang=zh_cn. GBK

The settings in the above securecrt are done. Disconnect the connection again and find out.

Meanwhile, the method of displaying and inputting Chinese in cmd

In Windows, how do I use the CMD command-line window to correctly display text encoded in UTF-8 format?
The correct steps are as follows: 1, open cmd Command Line window 2, enter command >chcp 65001 number 65001 represents the encoding of the utf-8 format in the cmd window. The CMD window is encoded as GBK by default, the number code is 936D:\>CHCP 65001Active codes page:650013, right click in the cmd window title bar, bring up the right menu, click Properties-"Font, change the font to Lucida Console, OK, the Utf-8 encoded font can be displayed correctly.  If you want to return to GBK, just follow the steps above to reverse the operation. Two configuration securecrt need Taglist,ctags,winmanger

"Linux" some command and encoding settings

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.