<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: phpmyadmin display utf8</title>
	<atom:link href="http://blog.mikezhang.com/2007/03/30/phpmyadmin-display-utf8/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.mikezhang.com/2007/03/30/phpmyadmin-display-utf8</link>
	<description>thoughts of michael xiaoquan zhang professor at hkust</description>
	<lastBuildDate>Wed, 08 Feb 2012 12:39:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: appliance repair Newport Beach</title>
		<link>http://blog.mikezhang.com/2007/03/30/phpmyadmin-display-utf8#comment-231202</link>
		<dc:creator>appliance repair Newport Beach</dc:creator>
		<pubDate>Wed, 14 Dec 2011 11:14:39 +0000</pubDate>
		<guid isPermaLink="false">http://mikezhang.com/wp/2007/03/30/phpmyadmin-display-utf8/#comment-231202</guid>
		<description>Some really interesting details you have written on blog.mikezhang.com .Aided me a lot, just what I was searching for :D .</description>
		<content:encoded><![CDATA[<p>Some really interesting details you have written on blog.mikezhang.com .Aided me a lot, just what I was searching for <img src='http://blog.mikezhang.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: development</title>
		<link>http://blog.mikezhang.com/2007/03/30/phpmyadmin-display-utf8#comment-227046</link>
		<dc:creator>development</dc:creator>
		<pubDate>Fri, 25 Nov 2011 16:56:47 +0000</pubDate>
		<guid isPermaLink="false">http://mikezhang.com/wp/2007/03/30/phpmyadmin-display-utf8/#comment-227046</guid>
		<description>&lt;strong&gt;development...&lt;/strong&gt;

[...]NullVoid &#187; phpmyadmin display utf8[...]...</description>
		<content:encoded><![CDATA[<p><strong>development&#8230;</strong></p>
<p>[...]NullVoid &raquo; phpmyadmin display utf8[...]&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: duc</title>
		<link>http://blog.mikezhang.com/2007/03/30/phpmyadmin-display-utf8#comment-190539</link>
		<dc:creator>duc</dc:creator>
		<pubDate>Mon, 04 Apr 2011 00:42:54 +0000</pubDate>
		<guid isPermaLink="false">http://mikezhang.com/wp/2007/03/30/phpmyadmin-display-utf8/#comment-190539</guid>
		<description>Thanks for the tip. I have been searching for a quick solution and this seems to work.</description>
		<content:encoded><![CDATA[<p>Thanks for the tip. I have been searching for a quick solution and this seems to work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: William Denniss</title>
		<link>http://blog.mikezhang.com/2007/03/30/phpmyadmin-display-utf8#comment-175661</link>
		<dc:creator>William Denniss</dc:creator>
		<pubDate>Tue, 23 Nov 2010 04:20:14 +0000</pubDate>
		<guid isPermaLink="false">http://mikezhang.com/wp/2007/03/30/phpmyadmin-display-utf8/#comment-175661</guid>
		<description>I had this same problem.

My data was not being stored correctly (though my PHP app could use it through a latin1 connection correctly).

How I fixed my data was to apply your hack to phpMyAdmin (thanks!), then export my data (so it&#039;s now correct UTF-8), remove the hack, and re-import the data.  Then set my connection in PHP to utf-8.

Full writeup on my blog: http://omegadelta.net/2010/11/23/when-you-thought-the-db-was-utf-8-but-it-wasnt/</description>
		<content:encoded><![CDATA[<p>I had this same problem.</p>
<p>My data was not being stored correctly (though my PHP app could use it through a latin1 connection correctly).</p>
<p>How I fixed my data was to apply your hack to phpMyAdmin (thanks!), then export my data (so it&#8217;s now correct UTF-8), remove the hack, and re-import the data.  Then set my connection in PHP to utf-8.</p>
<p>Full writeup on my blog: <a href="http://omegadelta.net/2010/11/23/when-you-thought-the-db-was-utf-8-but-it-wasnt/" rel="nofollow">http://omegadelta.net/2010/11/23/when-you-thought-the-db-was-utf-8-but-it-wasnt/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: When you thought the DB was UTF-8 but it wasn&#8217;t &#171; OmegaDelta</title>
		<link>http://blog.mikezhang.com/2007/03/30/phpmyadmin-display-utf8#comment-175660</link>
		<dc:creator>When you thought the DB was UTF-8 but it wasn&#8217;t &#171; OmegaDelta</dc:creator>
		<pubDate>Tue, 23 Nov 2010 04:14:58 +0000</pubDate>
		<guid isPermaLink="false">http://mikezhang.com/wp/2007/03/30/phpmyadmin-display-utf8/#comment-175660</guid>
		<description>[...] In the mysqli.dbi.lib.php and mysql.dbi.lib.php (two files), in the PMA_DBI_connect function, add the code (thanks to Mike Zhang for the code): [...]</description>
		<content:encoded><![CDATA[<p>[...] In the mysqli.dbi.lib.php and mysql.dbi.lib.php (two files), in the PMA_DBI_connect function, add the code (thanks to Mike Zhang for the code): [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Herman Santos</title>
		<link>http://blog.mikezhang.com/2007/03/30/phpmyadmin-display-utf8#comment-161011</link>
		<dc:creator>Herman Santos</dc:creator>
		<pubDate>Fri, 12 Feb 2010 22:42:37 +0000</pubDate>
		<guid isPermaLink="false">http://mikezhang.com/wp/2007/03/30/phpmyadmin-display-utf8/#comment-161011</guid>
		<description>You Rock!

I always use it to export DBs</description>
		<content:encoded><![CDATA[<p>You Rock!</p>
<p>I always use it to export DBs</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: simsik</title>
		<link>http://blog.mikezhang.com/2007/03/30/phpmyadmin-display-utf8#comment-160982</link>
		<dc:creator>simsik</dc:creator>
		<pubDate>Thu, 11 Feb 2010 20:59:02 +0000</pubDate>
		<guid isPermaLink="false">http://mikezhang.com/wp/2007/03/30/phpmyadmin-display-utf8/#comment-160982</guid>
		<description>thanks, it works, i was going crazy with russian and estonian</description>
		<content:encoded><![CDATA[<p>thanks, it works, i was going crazy with russian and estonian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dingle</title>
		<link>http://blog.mikezhang.com/2007/03/30/phpmyadmin-display-utf8#comment-151965</link>
		<dc:creator>dingle</dc:creator>
		<pubDate>Tue, 23 Jun 2009 23:59:09 +0000</pubDate>
		<guid isPermaLink="false">http://mikezhang.com/wp/2007/03/30/phpmyadmin-display-utf8/#comment-151965</guid>
		<description>A more &quot;correct&quot; fix. After connecting to database, &quot;SET NAMES utf8&quot; to set utf8 encoding for all incoming queries. Unfortunately, it means that all your previous data are encoded incorrectly (the default &quot;NAMES&quot; must be latin1). Phpmyadmin is correctly using utf8 to query myql database.
It works for me, YMMV. More details plz see Ref:
http://dev.mysql.com/doc/refman/5.0/en/charset-connection.html</description>
		<content:encoded><![CDATA[<p>A more &#8220;correct&#8221; fix. After connecting to database, &#8220;SET NAMES utf8&#8243; to set utf8 encoding for all incoming queries. Unfortunately, it means that all your previous data are encoded incorrectly (the default &#8220;NAMES&#8221; must be latin1). Phpmyadmin is correctly using utf8 to query myql database.<br />
It works for me, YMMV. More details plz see Ref:<br />
<a href="http://dev.mysql.com/doc/refman/5.0/en/charset-connection.html" rel="nofollow">http://dev.mysql.com/doc/refman/5.0/en/charset-connection.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dingle</title>
		<link>http://blog.mikezhang.com/2007/03/30/phpmyadmin-display-utf8#comment-151964</link>
		<dc:creator>dingle</dc:creator>
		<pubDate>Tue, 23 Jun 2009 23:53:26 +0000</pubDate>
		<guid isPermaLink="false">http://mikezhang.com/wp/2007/03/30/phpmyadmin-display-utf8/#comment-151964</guid>
		<description>I found a fix somewhere else. Suppose all your tables are utf8,  in your php code, right after mysql_connect(),  you need to add  mysql_query(&quot;set names utf8&quot;), which basically means all future incoming queries are encoded in utf8.  Right after this command in mysql command line, i can see those chinese chars are encoded wrongly. This means you have to change all your data to utf8 (i suppose phpmyadmin is using utf8 for queries).   YMMV.  ref: http://dev.mysql.com/doc/refman/5.0/en/charset-connection.html</description>
		<content:encoded><![CDATA[<p>I found a fix somewhere else. Suppose all your tables are utf8,  in your php code, right after mysql_connect(),  you need to add  mysql_query(&#8220;set names utf8&#8243;), which basically means all future incoming queries are encoded in utf8.  Right after this command in mysql command line, i can see those chinese chars are encoded wrongly. This means you have to change all your data to utf8 (i suppose phpmyadmin is using utf8 for queries).   YMMV.  ref: <a href="http://dev.mysql.com/doc/refman/5.0/en/charset-connection.html" rel="nofollow">http://dev.mysql.com/doc/refman/5.0/en/charset-connection.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sergey</title>
		<link>http://blog.mikezhang.com/2007/03/30/phpmyadmin-display-utf8#comment-151896</link>
		<dc:creator>Sergey</dc:creator>
		<pubDate>Mon, 22 Jun 2009 08:46:24 +0000</pubDate>
		<guid isPermaLink="false">http://mikezhang.com/wp/2007/03/30/phpmyadmin-display-utf8/#comment-151896</guid>
		<description>Much thanks!</description>
		<content:encoded><![CDATA[<p>Much thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

