<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: 升级到WordPress 2.2，解决乱码的问题</title>
	<atom:link href="http://www.hmqq.net/2007/05/19/wp22-mysql-utf8/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hmqq.net/2007/05/19/wp22-mysql-utf8/</link>
	<description>Xiaoqiao's Blog</description>
	<pubDate>Wed, 19 Nov 2008 03:52:29 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Suave&#8217;s Blog &#187; &#187; upgrade my blogs to wordpress 2.6</title>
		<link>http://www.hmqq.net/2007/05/19/wp22-mysql-utf8/#comment-3808</link>
		<dc:creator>Suave&#8217;s Blog &#187; &#187; upgrade my blogs to wordpress 2.6</dc:creator>
		<pubDate>Wed, 24 Sep 2008 11:09:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.hmqq.net/index.php/2007/05/19/wp22-mysql-utf8/#comment-3808</guid>
		<description>[...] 再搜索一下找到一个号称“终极解决方案”，乱码的问题所在是 mysql 的 charset 和 collation 设置不对，查查我的 mysql，charset=latin1, collation=latin1-swedish-ci，的确是有问题，参照“终极解决方案” 建了一个新库，charset=utf8, collation=utf8-general-ci，然后把就数据 dump 到新库里面，修改下 wp-config.php 指向新库，再去掉刚才的两行注释。一刷新发现乱码依旧！ [...]</description>
		<content:encoded><![CDATA[<p>[...] 再搜索一下找到一个号称“终极解决方案”，乱码的问题所在是 mysql 的 charset 和 collation 设置不对，查查我的 mysql，charset=latin1, collation=latin1-swedish-ci，的确是有问题，参照“终极解决方案” 建了一个新库，charset=utf8, collation=utf8-general-ci，然后把就数据 dump 到新库里面，修改下 wp-config.php 指向新库，再去掉刚才的两行注释。一刷新发现乱码依旧！ [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 潘魏增&#124;书山有路勤为径&#124;学海无涯苦作舟 &#187; 文章归档 &#187; mysql数据库的乱码问题</title>
		<link>http://www.hmqq.net/2007/05/19/wp22-mysql-utf8/#comment-2095</link>
		<dc:creator>潘魏增&#124;书山有路勤为径&#124;学海无涯苦作舟 &#187; 文章归档 &#187; mysql数据库的乱码问题</dc:creator>
		<pubDate>Sat, 09 Jun 2007 12:33:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.hmqq.net/index.php/2007/05/19/wp22-mysql-utf8/#comment-2095</guid>
		<description>[...] 当然如果你有root这样的牛账号，可以直接看小桥的文章。这里&#8211;compatible=mysql40参数的意思是导出的数据库兼容4.0.x版本以及以下3.2.x版本的mysql数据库。至于为什么采用这个参数，看这篇文章http://www.elaguan.net/article.asp?id=119，有点长，而且……越看越晕。然后在相关web程序连接数据库query之前要记得先执行一下：SET NAMES &#8216;utf8&#8242;。 [...]</description>
		<content:encoded><![CDATA[<p>[...] 当然如果你有root这样的牛账号，可以直接看小桥的文章。这里&#8211;compatible=mysql40参数的意思是导出的数据库兼容4.0.x版本以及以下3.2.x版本的mysql数据库。至于为什么采用这个参数，看这篇文章http://www.elaguan.net/article.asp?id=119，有点长，而且……越看越晕。然后在相关web程序连接数据库query之前要记得先执行一下：SET NAMES &#8216;utf8&#8242;。 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pan</title>
		<link>http://www.hmqq.net/2007/05/19/wp22-mysql-utf8/#comment-2083</link>
		<dc:creator>pan</dc:creator>
		<pubDate>Mon, 21 May 2007 10:52:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.hmqq.net/index.php/2007/05/19/wp22-mysql-utf8/#comment-2083</guid>
		<description>哦 忘了 你是升级过来的 不是首次安装 

这样就不行了 因为已经有数据了</description>
		<content:encoded><![CDATA[<p>哦 忘了 你是升级过来的 不是首次安装 </p>
<p>这样就不行了 因为已经有数据了</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 小桥</title>
		<link>http://www.hmqq.net/2007/05/19/wp22-mysql-utf8/#comment-2082</link>
		<dc:creator>小桥</dc:creator>
		<pubDate>Mon, 21 May 2007 09:17:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.hmqq.net/index.php/2007/05/19/wp22-mysql-utf8/#comment-2082</guid>
		<description>&lt;p&gt;貌似不能直接改吧，重新建数据库并导入数据我倒是用phpmyadmin完成的。&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>貌似不能直接改吧，重新建数据库并导入数据我倒是用phpmyadmin完成的。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pan</title>
		<link>http://www.hmqq.net/2007/05/19/wp22-mysql-utf8/#comment-2081</link>
		<dc:creator>pan</dc:creator>
		<pubDate>Mon, 21 May 2007 02:58:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.hmqq.net/index.php/2007/05/19/wp22-mysql-utf8/#comment-2081</guid>
		<description>第二步也可以用phpmyadmin直接改数据库</description>
		<content:encoded><![CDATA[<p>第二步也可以用phpmyadmin直接改数据库</p>
]]></content:encoded>
	</item>
</channel>
</rss>
