<?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 Character Sets</title>
	<atom:link href="http://www.mysqlperformanceblog.com/2009/03/17/converting-character-sets/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mysqlperformanceblog.com/2009/03/17/converting-character-sets/</link>
	<description>Everything about MySQL Performance</description>
	<lastBuildDate>Sat, 21 Nov 2009 05:23:57 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: nadavkav</title>
		<link>http://www.mysqlperformanceblog.com/2009/03/17/converting-character-sets/comment-page-1/#comment-529172</link>
		<dc:creator>nadavkav</dc:creator>
		<pubDate>Fri, 03 Apr 2009 17:32:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=636#comment-529172</guid>
		<description>Thank you ! for this valuable post. 
But it was a little to late for me, after trying one of those suggestions on the internet 
similar to the #2 method category for converting text to binary and back to text again.
We use a Mahara (ePortfolio framework) that was installed with the wrong charset 
and got filled with data very quickly, before i had that chance to notice this issue.
eventually (after #2 method did not work properly) i had to manually change the relevant
DB fields :-( 
A good ending to this story is that everything works fine, now :-)</description>
		<content:encoded><![CDATA[<p>Thank you ! for this valuable post.<br />
But it was a little to late for me, after trying one of those suggestions on the internet<br />
similar to the #2 method category for converting text to binary and back to text again.<br />
We use a Mahara (ePortfolio framework) that was installed with the wrong charset<br />
and got filled with data very quickly, before i had that chance to notice this issue.<br />
eventually (after #2 method did not work properly) i had to manually change the relevant<br />
DB fields <img src='http://www.mysqlperformanceblog.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /><br />
A good ending to this story is that everything works fine, now <img src='http://www.mysqlperformanceblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shlomi Noach</title>
		<link>http://www.mysqlperformanceblog.com/2009/03/17/converting-character-sets/comment-page-1/#comment-518587</link>
		<dc:creator>Shlomi Noach</dc:creator>
		<pubDate>Wed, 25 Mar 2009 17:26:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=636#comment-518587</guid>
		<description>@Gil,

good question. Will try to set up the configuration and test.</description>
		<content:encoded><![CDATA[<p>@Gil,</p>
<p>good question. Will try to set up the configuration and test.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gil</title>
		<link>http://www.mysqlperformanceblog.com/2009/03/17/converting-character-sets/comment-page-1/#comment-518582</link>
		<dc:creator>Gil</dc:creator>
		<pubDate>Wed, 25 Mar 2009 16:53:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=636#comment-518582</guid>
		<description>Thanks @Schlomi

My question was more about what happens if you have latin1 on the master and utf8 on the slave. Same problem?</description>
		<content:encoded><![CDATA[<p>Thanks @Schlomi</p>
<p>My question was more about what happens if you have latin1 on the master and utf8 on the slave. Same problem?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shlomi Noach</title>
		<link>http://www.mysqlperformanceblog.com/2009/03/17/converting-character-sets/comment-page-1/#comment-518581</link>
		<dc:creator>Shlomi Noach</dc:creator>
		<pubDate>Wed, 25 Mar 2009 16:51:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=636#comment-518581</guid>
		<description>@Gil
If you have a utf8 column on a master, and a latin1 column on a slave, and try to replicate, you may get corrupted data if you insert true utf8 text into the master. The slave will not be able to store utf8 characters and will truncate them.</description>
		<content:encoded><![CDATA[<p>@Gil<br />
If you have a utf8 column on a master, and a latin1 column on a slave, and try to replicate, you may get corrupted data if you insert true utf8 text into the master. The slave will not be able to store utf8 characters and will truncate them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gil</title>
		<link>http://www.mysqlperformanceblog.com/2009/03/17/converting-character-sets/comment-page-1/#comment-518577</link>
		<dc:creator>Gil</dc:creator>
		<pubDate>Wed, 25 Mar 2009 16:08:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=636#comment-518577</guid>
		<description>In a multi-master replication setup, if I broke replication and ran this script on the passive master, then started replication from active-&gt;passive, would the queries fail or do other unwanted things? Are the binary logs charset-sensitive during replication?</description>
		<content:encoded><![CDATA[<p>In a multi-master replication setup, if I broke replication and ran this script on the passive master, then started replication from active-&gt;passive, would the queries fail or do other unwanted things? Are the binary logs charset-sensitive during replication?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shlomi Noach</title>
		<link>http://www.mysqlperformanceblog.com/2009/03/17/converting-character-sets/comment-page-1/#comment-516276</link>
		<dc:creator>Shlomi Noach</dc:creator>
		<pubDate>Mon, 23 Mar 2009 15:36:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=636#comment-516276</guid>
		<description>@Ryan,

Cheers. There&#039;s room for more than one utility per task!

Shlomi</description>
		<content:encoded><![CDATA[<p>@Ryan,</p>
<p>Cheers. There&#8217;s room for more than one utility per task!</p>
<p>Shlomi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Lowe</title>
		<link>http://www.mysqlperformanceblog.com/2009/03/17/converting-character-sets/comment-page-1/#comment-516238</link>
		<dc:creator>Ryan Lowe</dc:creator>
		<pubDate>Mon, 23 Mar 2009 14:30:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=636#comment-516238</guid>
		<description>@shlomi Had I seen that script sooner, I may have used it!  convert_charset has --columns parameter, so it is possible to do one-and-and-only-one column at a time.

@jakub &amp; @pavel This script assumes latin1 data is stored in latin1 columns:)</description>
		<content:encoded><![CDATA[<p>@shlomi Had I seen that script sooner, I may have used it!  convert_charset has &#8211;columns parameter, so it is possible to do one-and-and-only-one column at a time.</p>
<p>@jakub &#038; @pavel This script assumes latin1 data is stored in latin1 columns:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pavel</title>
		<link>http://www.mysqlperformanceblog.com/2009/03/17/converting-character-sets/comment-page-1/#comment-516048</link>
		<dc:creator>Pavel</dc:creator>
		<pubDate>Mon, 23 Mar 2009 10:54:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=636#comment-516048</guid>
		<description>What happens if a column has mixed latin1 and utf8 at the same time (left from MySQL 4)?
Does MySQL detect that right?</description>
		<content:encoded><![CDATA[<p>What happens if a column has mixed latin1 and utf8 at the same time (left from MySQL 4)?<br />
Does MySQL detect that right?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marki</title>
		<link>http://www.mysqlperformanceblog.com/2009/03/17/converting-character-sets/comment-page-1/#comment-512219</link>
		<dc:creator>Marki</dc:creator>
		<pubDate>Thu, 19 Mar 2009 09:54:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=636#comment-512219</guid>
		<description>@Jakub
I&#039;ve just migrated around 300 databases from 4.0 to 5.0. It was not easy, because every database could use different charset...
1) Know the charset of database
2) Export database from mysql 4.0 server
3) Create new empty database on mysql 5.0 with correct default charset
4) Import data into mysql 5.0 server, but prepend data with SET NAMES:
(echo &quot;SET NAMES $chset;&quot;; cat $path/$db.sql) &#124; mysql newdb -hnewserver</description>
		<content:encoded><![CDATA[<p>@Jakub<br />
I&#8217;ve just migrated around 300 databases from 4.0 to 5.0. It was not easy, because every database could use different charset&#8230;<br />
1) Know the charset of database<br />
2) Export database from mysql 4.0 server<br />
3) Create new empty database on mysql 5.0 with correct default charset<br />
4) Import data into mysql 5.0 server, but prepend data with SET NAMES:<br />
(echo &#8220;SET NAMES $chset;&#8221;; cat $path/$db.sql) | mysql newdb -hnewserver</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shlomi Noach</title>
		<link>http://www.mysqlperformanceblog.com/2009/03/17/converting-character-sets/comment-page-1/#comment-511955</link>
		<dc:creator>Shlomi Noach</dc:creator>
		<pubDate>Thu, 19 Mar 2009 04:18:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=636#comment-511955</guid>
		<description>@Mrten

At any case other examples can be email addresses, local file names (hopefully ASCII), mount points, airports abbreviations, etc. There are quite a few ASCII-only texts, which was my point.

Regards</description>
		<content:encoded><![CDATA[<p>@Mrten</p>
<p>At any case other examples can be email addresses, local file names (hopefully ASCII), mount points, airports abbreviations, etc. There are quite a few ASCII-only texts, which was my point.</p>
<p>Regards</p>
]]></content:encoded>
	</item>
</channel>
</rss>
