天天看点

使用SecureCRT登录Ubuntu中文乱码问题

1.vi var/lib/locales/supported.d/local    #添加:zh_CN.UTF-8 UTF-8

    locale-gen  #下载文件

2.vi /etc/environment    #增加两行和LC_ALL="zh_CN.UTF-8"

3.vi ~/.profile    #增加两行export 和export LC_ALL="zh_CN.UTF-8",执行.profile

4.SecureCRT中选择终端类型为Linux,选择编码为UTF-8,最重要的是选择一个支持GB2312字符集的字体,具体步骤为:

Options -> Session Options -> Terminal -> Emulation -> Terminal 选择为Linux

Options -> Session Options -> Terminal -> Appearance -> charset 选择为UTF-8

继续阅读