﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>C++博客-小步慢跑-随笔分类-linux</title><link>http://www.cppblog.com/zaccheo/category/20371.html</link><description /><language>zh-cn</language><lastBuildDate>Sun, 03 Feb 2013 11:13:35 GMT</lastBuildDate><pubDate>Sun, 03 Feb 2013 11:13:35 GMT</pubDate><ttl>60</ttl><item><title>centos 添加中文支持</title><link>http://www.cppblog.com/zaccheo/archive/2013/02/03/197691.html</link><dc:creator>zaccheo</dc:creator><author>zaccheo</author><pubDate>Sun, 03 Feb 2013 09:38:00 GMT</pubDate><guid>http://www.cppblog.com/zaccheo/archive/2013/02/03/197691.html</guid><wfw:comment>http://www.cppblog.com/zaccheo/comments/197691.html</wfw:comment><comments>http://www.cppblog.com/zaccheo/archive/2013/02/03/197691.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/zaccheo/comments/commentRss/197691.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/zaccheo/services/trackbacks/197691.html</trackback:ping><description><![CDATA[在虚拟机中默认设置安装了centos 5.8 。发现中文显示的都是方块的乱码。使用下面的步骤添加了中文的支持<br /><span style="font-family: 宋体, Arial; font-size: 12px; line-height: 26px;">1 安装中文支持</span><br style="color: #ff0102; font-family: 宋体, Arial; font-size: 12px; line-height: 26px;" /><span style="background-color: #ffffff; color: #ff0102; font-family: 宋体, Arial; font-size: 12px; line-height: 26px;">#yum groupinstall "Chinese Support"</span><br style="color: #ff0102; font-family: 宋体, Arial; font-size: 12px; line-height: 26px;" /><span style="background-color: #ffffff; font-family: 宋体, Arial; font-size: 12px; line-height: 26px;"><br />2 修改配置</span><br style="color: #ff0102; font-family: 宋体, Arial; font-size: 12px; line-height: 26px;" /><div style="font-family: 宋体, Arial; font-size: 12px; line-height: 26px; color: #666666;"><span style="color: #2c2b2b; font-family: arial, sans-serif; font-size: 15px; line-height: 24px;"># vim /etc/sysconfig/i18n</span></div><div style="font-family: 宋体, Arial; font-size: 12px; line-height: 26px; color: #666666;"><p style="margin: 0px; padding: 0px 0px 20px; border-width: 0px; font-size: 15px; font: inherit; vertical-align: baseline; color: #2c2b2b; font-family: arial, sans-serif; line-height: 24px;">将：<br />LANG="en_US.UTF-8"&nbsp;<br />SYSFONT="latarcyrheb-sun16"<br />修改为：<br /><div>LANG="zh_CN.GB18030"</div><div>LANGUAGE="zh_CN.GB18030:zh_CN.GB2312:zh_CN"&nbsp;</div><div>SUPPORTED="zh_CN.UTF-8:zh_CN:zh:en_US.UTF-8:en_US:en"</div><div>SYSFONT="lat0-sun16"<br /><br />3 注销</div></p></div><img src ="http://www.cppblog.com/zaccheo/aggbug/197691.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/zaccheo/" target="_blank">zaccheo</a> 2013-02-03 17:38 <a href="http://www.cppblog.com/zaccheo/archive/2013/02/03/197691.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>