码迷,mamicode.com
首页 > 系统相关 > 详细

SecureCRT登录Ubuntu 的中文乱码问题

时间:2015-02-27 11:25:23      阅读:267      评论:0      收藏:0      [点我收藏+]

标签:

(1)/var/lib/locales/supported.d/local文件中添加一行:zh_CN.UTF-8 UTF-8,执行sudo locale-gen下载文件
 
su - root

(2)在/etc/environment中增加两行分别为:LANG="zh_CN.UTF-8"和LC_ALL="zh_CN.UTF-8"

 

su - jackielee

  

(3)~/.profile中增加两行分别为:export LANG="zh_CN.UTF-8"和export LC_ALL="zh_CN.UTF-8",执行.profile
 
.profile

  


(4)SecureCRT 中选择终端类型为Linux,选择编码为UTF-8,最重要的是选择一个支持GB2312字符集的字体,要把字符集设置成为中文GB2312,切忌不要选成西欧语言  

 

参考

http://blog.chinaunix.net/uid-11436705-id-354231.html

SecureCRT登录Ubuntu 的中文乱码问题

标签:

原文地址:http://www.cnblogs.com/okgogo2000/p/4302766.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!