<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule">

<channel>
	<title>wolfg&#039;s Weblog &#187; mail</title>
	<atom:link href="http://guoyong.org/tag/mail/feed" rel="self" type="application/rss+xml" />
	<link>http://guoyong.org</link>
	<description>wolfg&#039;s journey with open source, linux, programming, sysadm ...</description>
	<lastBuildDate>Thu, 04 Aug 2011 15:02:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.5/cn/</creativeCommons:license>		<item>
		<title>Ubuntu 6.06 下SquirrelMail的中文界面问题</title>
		<link>http://guoyong.org/2006/11/29/292</link>
		<comments>http://guoyong.org/2006/11/29/292#comments</comments>
		<pubDate>Wed, 29 Nov 2006 15:11:06 +0000</pubDate>
		<dc:creator>wolfg</dc:creator>
				<category><![CDATA[SysAdmin]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[squirrelmail]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://guoyong.org/2006/11/29/292</guid>
		<description><![CDATA[SquirrelMail的系统配置为中文，用户设置也是中文，可以正常查看中文邮件，但界面还是英文。 系统已经安装了language-support-zh中文支持包。 原因：Ubuntu的默认系统字符集是UTF-8，而SquirrelMail需要的是GB2312（见SquirrelMail的程序目录functions/i18n.php中第843到846行） 解决办法（从SquirrelMail官网的wiki里得到启示）： $ sudo cp /var/lib/locales/supported.d/local /var/lib/locales/supported.d/local.old$ grep zh_CN /usr/share/i18n/SUPPORTEDzh_CN.GB18030 GB18030zh_CN.GBK GBKzh_CN.UTF-8 UTF-8zh_CN GB2312$ sudo vi /var/lib/locales/supported.d/local把上面的内容添加到local文件里$ grep zh_CN /var/lib/locales/supported.d/localzh_CN.GB18030 GB18030zh_CN.GBK GBKzh_CN.UTF-8 UTF-8zh_CN GB2312$ sudo dpkg-reconfigure --force locales生成新的中文locale，可能比较慢 这时访问SquirrelMail的界面就是中文的了。]]></description>
			<content:encoded><![CDATA[<p>SquirrelMail的系统配置为中文，用户设置也是中文，可以正常查看中文邮件，但界面还是英文。</p>
<p>系统已经安装了language-support-zh中文支持包。</p>
<p>原因：Ubuntu的默认系统字符集是UTF-8，而SquirrelMail需要的是GB2312（见SquirrelMail的程序目录functions/i18n.php中第843到846行）</p>
<p>解决办法（从SquirrelMail官网的wiki里得到启示）：</p>
<div class="hl-surround"><div class="hl-main">$ sudo cp /var/lib/locales/supported.d/local /var/lib/locales/supported.d/local.old<br />$ grep zh_CN /usr/share/i18n/SUPPORTED<br />zh_CN.GB18030 GB18030<br />zh_CN.GBK GBK<br />zh_CN.UTF-8 UTF-8<br />zh_CN GB2312<br /><br />$ sudo vi /var/lib/locales/supported.d/local<br />把上面的内容添加到local文件里<br /><br />$ grep zh_CN /var/lib/locales/supported.d/local<br />zh_CN.GB18030 GB18030<br />zh_CN.GBK GBK<br />zh_CN.UTF-8 UTF-8<br />zh_CN GB2312<br /><br />$ sudo dpkg-reconfigure --force locales<br />生成新的中文locale，可能比较慢</div></div>
<p>这时访问SquirrelMail的界面就是中文的了。</p>
]]></content:encoded>
			<wfw:commentRss>http://guoyong.org/2006/11/29/292/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

