<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>深度VPS &#187; SecureCRT</title>
	<atom:link href="http://www.deepvps.com/tag/securecrt/feed" rel="self" type="application/rss+xml" />
	<link>http://www.deepvps.com</link>
	<description>专注VPS技术，关注前端技术</description>
	<lastBuildDate>Sat, 04 Feb 2023 14:00:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>SecureCRT中文乱码解决方案</title>
		<link>http://www.deepvps.com/securecrt-chinese-garbled.html</link>
		<comments>http://www.deepvps.com/securecrt-chinese-garbled.html#comments</comments>
		<pubDate>Wed, 09 May 2012 15:15:09 +0000</pubDate>
		<dc:creator>deepvps</dc:creator>
				<category><![CDATA[VPS管理维护]]></category>
		<category><![CDATA[SecureCRT]]></category>
		<category><![CDATA[中文乱码]]></category>

		<guid isPermaLink="false">http://www.deepvps.com/?p=1127</guid>
		<description><![CDATA[SecureCRT是一个商业终端连接工具。SecureCRT可以自定义界面颜色方案，可以连接SSH1与SSH2、Telnet等服务。默认设置下，通过SecureCRT连接SSH服务器可能出现中文乱码的情况。这是由于SecureCRT字符编码与服务器的字符编码不一致造成的。解决方法非常简单，进行设置即可。
中文乱码解决方法
一般来说
1、右键点击SecureCRT的连接标签

选择“会话选项”菜单。
2、在弹出的窗口中，左边栏选择“外观”选项卡；

3、在右边的窗口中选择UTF8，如图所示：

4、此时，SecureCRT中即可正常显示中文了：

如果此时依然无法正常显示中文，则可能是由于Linux系统中默认的字符编码非UTF8所致，解决方法如下：
修改Linux服务器的配置文件：
[root@www ~]# vi /etc/sysconfig/i18n
如果安装系统的时候选择了中文系统，则把LANG字段改为：
LANG=&#8221;zh_CN.UTF-8&#8243;
如果安装系统的时候选择的英文系统，则把LANG字段改为：
LANG=&#8221;en_US.UTF-8&#8243;
然后保存文件。
这时断开SSH连接并重新登录，会发现中文文件名、文件中的中文字符均已经可以正常显示，并可以通过输入法输入中文了。
]]></description>
			<content:encoded><![CDATA[<p>SecureCRT是一个商业终端连接工具。SecureCRT可以自定义界面颜色方案，可以连接SSH1与SSH2、Telnet等服务。默认设置下，通过SecureCRT连接SSH服务器可能出现中文乱码的情况。这是由于SecureCRT字符编码与服务器的字符编码不一致造成的。解决方法非常简单，进行设置即可。</p>
<h3>中文乱码解决方法</h3>
<p><strong>一般来说</strong></p>
<p>1、右键点击SecureCRT的连接标签</p>
<p><a href="http://www.deepvps.com/wp-content/uploads/auto_save_image/2012/05/2315106wr.png"><img title="SecureCRT_setting" src="http://www.deepvps.com/wp-content/uploads/auto_save_image/2012/05/2315106wr.png" alt="" width="234" height="298" /></a></p>
<p>选择“会话选项”菜单。<span id="more-1127"></span></p>
<p>2、在弹出的窗口中，左边栏选择“外观”选项卡；</p>
<p><a href="http://www.deepvps.com/wp-content/uploads/auto_save_image/2012/05/231510VKR.png"><img title="SecureCRT_setting_GUI" src="http://www.deepvps.com/wp-content/uploads/auto_save_image/2012/05/231510VKR.png" alt="" width="161" height="169" /></a></p>
<p>3、在右边的窗口中选择UTF8，如图所示：</p>
<p><a href="http://www.deepvps.com/wp-content/uploads/auto_save_image/2012/05/231510yOY.png"><img title="SecureCRT_setting_utf8" src="http://www.deepvps.com/wp-content/uploads/auto_save_image/2012/05/231510yOY.png" alt="" width="356" height="128" /></a></p>
<p>4、此时，SecureCRT中即可正常显示中文了：</p>
<p><a href="http://www.deepvps.com/wp-content/uploads/auto_save_image/2012/05/23151001f.png"><img title="SecureCRT_setting_normal" src="http://www.deepvps.com/wp-content/uploads/auto_save_image/2012/05/23151001f.png" alt="" width="266" height="49" /></a></p>
<p><strong>如果此时依然无法正常显示中文，则可能是由于Linux系统中默认的字符编码非UTF8所致，解决方法如下：</strong></p>
<p>修改Linux服务器的配置文件：</p>
<blockquote><p>[root@www ~]# vi /etc/sysconfig/i18n</p></blockquote>
<p>如果安装系统的时候选择了中文系统，则把LANG字段改为：</p>
<blockquote><p>LANG=&#8221;zh_CN.UTF-8&#8243;</p></blockquote>
<p>如果安装系统的时候选择的英文系统，则把LANG字段改为：</p>
<blockquote><p>LANG=&#8221;en_US.UTF-8&#8243;</p></blockquote>
<p>然后保存文件。</p>
<p>这时断开SSH连接并重新登录，会发现中文文件名、文件中的中文字符均已经可以正常显示，并可以通过输入法输入中文了。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.deepvps.com/securecrt-chinese-garbled.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
