<?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: Fix Wrong Character Encoding In MySQL</title>
	<atom:link href="http://ersinacar.com/fix-wrong-character-encoding-in-mysql_61.html/feed" rel="self" type="application/rss+xml" />
	<link>http://ersinacar.com/fix-wrong-character-encoding-in-mysql_61.html</link>
	<description>PHP and Web Technologies Freak</description>
	<lastBuildDate>Wed, 08 Jun 2011 14:26:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Philip</title>
		<link>http://ersinacar.com/fix-wrong-character-encoding-in-mysql_61.html/comment-page-1#comment-409</link>
		<dc:creator>Philip</dc:creator>
		<pubDate>Wed, 24 Nov 2010 23:09:12 +0000</pubDate>
		<guid isPermaLink="false">http://ersinacar.com/?p=61#comment-409</guid>
		<description>What if I have more than one field?
For example, I have a table with the following fields: cat_name, cat_title, cat_description, etc...
How can I fix that using the following code?

UPDATE table SET col1=CONVERT(CONVERT(CONVERT(col1 USING &#039;latin1&#039;) USING BINARY) USING &#039;utf8&#039;);

thank you</description>
		<content:encoded><![CDATA[<p>What if I have more than one field?<br />
For example, I have a table with the following fields: cat_name, cat_title, cat_description, etc&#8230;<br />
How can I fix that using the following code?</p>
<p>UPDATE table SET col1=CONVERT(CONVERT(CONVERT(col1 USING &#8216;latin1&#8242;) USING BINARY) USING &#8216;utf8&#8242;);</p>
<p>thank you</p>
]]></content:encoded>
	</item>
</channel>
</rss>

