<?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: Converting MySQL Database Contents to UTF-8</title>
	<atom:link href="http://climbtothestars.org/archives/2004/07/18/converting-mysql-database-contents-to-utf-8/feed/" rel="self" type="application/rss+xml" />
	<link>http://climbtothestars.org/archives/2004/07/18/converting-mysql-database-contents-to-utf-8/</link>
	<description>Stephanie Booth&#039;s online ramblings</description>
	<lastBuildDate>Fri, 10 Feb 2012 10:15:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Stephanie Booth</title>
		<link>http://climbtothestars.org/archives/2004/07/18/converting-mysql-database-contents-to-utf-8/#comment-46977</link>
		<dc:creator>Stephanie Booth</dc:creator>
		<pubDate>Thu, 11 Aug 2011 15:13:20 +0000</pubDate>
		<guid isPermaLink="false">http://climbtothestars.org/archives/2004/07/18/converting-mysql-database-contents-to-utf-8/#comment-46977</guid>
		<description>&lt;p&gt;Make sure you&#039;re not confusing &lt;a href=&quot;http://dev.mysql.com/doc/refman/5.0/en/charset-collations.html&quot; rel=&quot;nofollow&quot;&gt;collation&lt;/a&gt; with the actual encoding the content is in.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Make sure you&#8217;re not confusing <a href="http://dev.mysql.com/doc/refman/5.0/en/charset-collations.html" rel="nofollow">collation</a> with the actual encoding the content is in.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: yash</title>
		<link>http://climbtothestars.org/archives/2004/07/18/converting-mysql-database-contents-to-utf-8/#comment-46972</link>
		<dc:creator>yash</dc:creator>
		<pubDate>Thu, 11 Aug 2011 13:56:54 +0000</pubDate>
		<guid isPermaLink="false">http://climbtothestars.org/archives/2004/07/18/converting-mysql-database-contents-to-utf-8/#comment-46972</guid>
		<description>&lt;p&gt;this wordpress plugin (http://www.sociable.es/facebook-wordpress-plugin-3-0/) creating 
Unicode bug&lt;/p&gt;

&lt;p&gt;when i submit my blog link to facebook it display like odd charecters&lt;/p&gt;

&lt;p&gt;&quot;¤œ¤¾¤‡¤¤¤œ¤¾¤‡¤¤...&quot;&lt;/p&gt;

&lt;p&gt;the original text is &quot;डिजाइनदार राखियों की...&quot;&lt;/p&gt;

&lt;p&gt;and when i uninstall this plugin, everything working fine&lt;/p&gt;

&lt;p&gt;my blog: http://www.shreshthbharat.in (please try to post a link on facebook you&#039;ll see odd character in preview )&lt;/p&gt;

&lt;p&gt;there are some tables are in latin1_swedish_ci i change it to &quot;utf8_unicode_ci&quot; but still problem is there&lt;/p&gt;

&lt;p&gt;i donot want to leave this powerful plugin&lt;/p&gt;

&lt;p&gt;please tell me how do i fix this bug&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>this wordpress plugin (<a href="http://www.sociable.es/facebook-wordpress-plugin-3-0/" rel="nofollow">http://www.sociable.es/facebook-wordpress-plugin-3-0/</a>) creating 
Unicode bug</p>

<p>when i submit my blog link to facebook it display like odd charecters</p>

<p>&#8220;¤œ¤¾¤‡¤¤¤œ¤¾¤‡¤¤&#8230;&#8221;</p>

<p>the original text is &#8220;डिजाइनदार राखियों की&#8230;&#8221;</p>

<p>and when i uninstall this plugin, everything working fine</p>

<p>my blog: <a href="http://www.shreshthbharat.in" rel="nofollow">http://www.shreshthbharat.in</a> (please try to post a link on facebook you&#8217;ll see odd character in preview )</p>

<p>there are some tables are in latin1_swedish_ci i change it to &#8220;utf8_unicode_ci&#8221; but still problem is there</p>

<p>i donot want to leave this powerful plugin</p>

<p>please tell me how do i fix this bug</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Ziad Rahhal</title>
		<link>http://climbtothestars.org/archives/2004/07/18/converting-mysql-database-contents-to-utf-8/#comment-42772</link>
		<dc:creator>Ziad Rahhal</dc:creator>
		<pubDate>Tue, 05 Apr 2011 09:54:16 +0000</pubDate>
		<guid isPermaLink="false">http://climbtothestars.org/archives/2004/07/18/converting-mysql-database-contents-to-utf-8/#comment-42772</guid>
		<description>&lt;p&gt;I correct my previous post: the method that Stephanie used works fine even with Foreign Keys. However, iconv didn&#039;t convert from latin1(iso-8859-1) to utf8 in my case. I haven&#039;t investigated iconv yet. What I did is manually change every occurrence of &quot;latin-1&quot; to &quot;utf8&quot; in the .sql file.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I correct my previous post: the method that Stephanie used works fine even with Foreign Keys. However, iconv didn&#8217;t convert from latin1(iso-8859-1) to utf8 in my case. I haven&#8217;t investigated iconv yet. What I did is manually change every occurrence of &#8220;latin-1&#8243; to &#8220;utf8&#8243; in the .sql file.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Ziad Rahhal</title>
		<link>http://climbtothestars.org/archives/2004/07/18/converting-mysql-database-contents-to-utf-8/#comment-42769</link>
		<dc:creator>Ziad Rahhal</dc:creator>
		<pubDate>Tue, 05 Apr 2011 08:19:07 +0000</pubDate>
		<guid isPermaLink="false">http://climbtothestars.org/archives/2004/07/18/converting-mysql-database-contents-to-utf-8/#comment-42769</guid>
		<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;@Bimal: be careful from Foreign Keys when you do this:
&lt;code&gt;alter table wordpress_table_1
change latin_column utf_column text character set utf8 collate utf8_bin NOT NULL;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;I tried something similar like:
&lt;code&gt;alter table  convert to character set utf8 collate utf8_general_ci;&lt;/code&gt;
and it doesn&#039;t work at all if you have foreign keys in the tables in question. You need to drop foreign keys first.
The error is (lets say your table is called ):
&lt;i&gt;ERROR 1025 (HY000): Error on rename of &#039;./stockUTF8/#sql-3ea_17&#039; to &#039;./stockUTF8/items&#039; (errno: 150)&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;And probably the method that Stephanie supplied won&#039;t work with Foreign Keys. I am not sure, I need to test it with my tables that have foreign keys set.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi,</p>

<p>@Bimal: be careful from Foreign Keys when you do this:
<code>alter table wordpress_table_1
change latin_column utf_column text character set utf8 collate utf8_bin NOT NULL;</code></p>

<p>I tried something similar like:
<code>alter table  convert to character set utf8 collate utf8_general_ci;</code>
and it doesn&#8217;t work at all if you have foreign keys in the tables in question. You need to drop foreign keys first.
The error is (lets say your table is called ):
<i>ERROR 1025 (HY000): Error on rename of &#8216;./stockUTF8/#sql-3ea_17&#8242; to &#8216;./stockUTF8/items&#8217; (errno: 150)</i></p>

<p>And probably the method that Stephanie supplied won&#8217;t work with Foreign Keys. I am not sure, I need to test it with my tables that have foreign keys set.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Eroan</title>
		<link>http://climbtothestars.org/archives/2004/07/18/converting-mysql-database-contents-to-utf-8/#comment-41393</link>
		<dc:creator>Eroan</dc:creator>
		<pubDate>Sat, 26 Feb 2011 17:43:57 +0000</pubDate>
		<guid isPermaLink="false">http://climbtothestars.org/archives/2004/07/18/converting-mysql-database-contents-to-utf-8/#comment-41393</guid>
		<description>&lt;p&gt;Thanks for these mysql tips, I’ve been looking for a solution with UTF8 for more tnah 2 days… I thought there was no solution :/&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks for these mysql tips, I’ve been looking for a solution with UTF8 for more tnah 2 days… I thought there was no solution :/</p>]]></content:encoded>
	</item>
	<item>
		<title>By: ich habe utf8 gemacht. &#8250; zeugs.</title>
		<link>http://climbtothestars.org/archives/2004/07/18/converting-mysql-database-contents-to-utf-8/#comment-28661</link>
		<dc:creator>ich habe utf8 gemacht. &#8250; zeugs.</dc:creator>
		<pubDate>Thu, 29 Jul 2010 11:27:26 +0000</pubDate>
		<guid isPermaLink="false">http://climbtothestars.org/archives/2004/07/18/converting-mysql-database-contents-to-utf-8/#comment-28661</guid>
		<description>&lt;p&gt;[...] mir nicht funktionierten. aus unklaren gründen. ein anderer post sprach von einer erfolgreichen konvertierung mit dem iconv tool. will man das unter windows machen, sucht man am bestern nach &#8220;iconv win32&#8243;. aber das [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] mir nicht funktionierten. aus unklaren gründen. ein anderer post sprach von einer erfolgreichen konvertierung mit dem iconv tool. will man das unter windows machen, sucht man am bestern nach &#8220;iconv win32&#8243;. aber das [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Pasando tablas de latin1 a UTF8</title>
		<link>http://climbtothestars.org/archives/2004/07/18/converting-mysql-database-contents-to-utf-8/#comment-27482</link>
		<dc:creator>Pasando tablas de latin1 a UTF8</dc:creator>
		<pubDate>Mon, 21 Dec 2009 10:29:59 +0000</pubDate>
		<guid isPermaLink="false">http://climbtothestars.org/archives/2004/07/18/converting-mysql-database-contents-to-utf-8/#comment-27482</guid>
		<description>&lt;p&gt;[...] es como mantenemos todas las tablas que podemos ya. Encontré diversas pistas sobre conversiones como ésta, haciendo uso de ICONV para convertir el texto del dump, pero me costó un rato darme cuenta de que [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] es como mantenemos todas las tablas que podemos ya. Encontré diversas pistas sobre conversiones como ésta, haciendo uso de ICONV para convertir el texto del dump, pero me costó un rato darme cuenta de que [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Srinivas Nalla</title>
		<link>http://climbtothestars.org/archives/2004/07/18/converting-mysql-database-contents-to-utf-8/#comment-26300</link>
		<dc:creator>Srinivas Nalla</dc:creator>
		<pubDate>Sat, 07 Nov 2009 12:05:15 +0000</pubDate>
		<guid isPermaLink="false">http://climbtothestars.org/archives/2004/07/18/converting-mysql-database-contents-to-utf-8/#comment-26300</guid>
		<description>&lt;p&gt;This a one of Important Site I am looking for. It helped me alot to bring the data of iso88591 to utf8. Thanks to the initiator and for all the pains underwent to prepare this doc&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>This a one of Important Site I am looking for. It helped me alot to bring the data of iso88591 to utf8. Thanks to the initiator and for all the pains underwent to prepare this doc</p>]]></content:encoded>
	</item>
	<item>
		<title>By: MySQL + UTF-8 = Not So Obvious &#171; Ward&#8217;s Words</title>
		<link>http://climbtothestars.org/archives/2004/07/18/converting-mysql-database-contents-to-utf-8/#comment-16740</link>
		<dc:creator>MySQL + UTF-8 = Not So Obvious &#171; Ward&#8217;s Words</dc:creator>
		<pubDate>Sat, 28 Mar 2009 07:56:23 +0000</pubDate>
		<guid isPermaLink="false">http://climbtothestars.org/archives/2004/07/18/converting-mysql-database-contents-to-utf-8/#comment-16740</guid>
		<description>&lt;p&gt;[...] existing literature on the topic including possible fixes [here, here, here, here, here, here, horror story here, here] encourage the configuration of the MySQL daemon (mysqld) to use [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] existing literature on the topic including possible fixes [here, here, here, here, here, here, horror story here, here] encourage the configuration of the MySQL daemon (mysqld) to use [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Oliver</title>
		<link>http://climbtothestars.org/archives/2004/07/18/converting-mysql-database-contents-to-utf-8/#comment-16899</link>
		<dc:creator>Oliver</dc:creator>
		<pubDate>Sat, 24 Jan 2009 06:00:32 +0000</pubDate>
		<guid isPermaLink="false">http://climbtothestars.org/archives/2004/07/18/converting-mysql-database-contents-to-utf-8/#comment-16899</guid>
		<description>&lt;p&gt;&lt;strong&gt;Great!&lt;/strong&gt; I was having the same host header error on the validator. I had actually forgotten where the host header came from but your post cleared it up for me.&lt;/p&gt;

&lt;p&gt;-Thanks&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p><strong>Great!</strong> I was having the same host header error on the validator. I had actually forgotten where the host header came from but your post cleared it up for me.</p>

<p>-Thanks</p>]]></content:encoded>
	</item>
</channel>
</rss>

