<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
	>
<channel>
	<title>Comments on: UTF-8 and MySQL</title>
	<atom:link href="http://candrews.integralblue.com/2009/01/utf-8-and-mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://candrews.integralblue.com/2009/01/utf-8-and-mysql/</link>
	<description>Please excuse the ugliness of this site. Just remember, as McCoy said to Kirk so many times, &#34;D*&#38;@!$ Jim! I&#039;m an engineer, not a web designer!&#34;</description>
	<lastBuildDate>Mon, 10 Oct 2011 22:00:40 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Ian Mackinnon</title>
		<link>http://candrews.integralblue.com/2009/01/utf-8-and-mysql/comment-page-1/#comment-88</link>
		<dc:creator>Ian Mackinnon</dc:creator>
		<pubDate>Thu, 26 Aug 2010 15:33:15 +0000</pubDate>
		<guid isPermaLink="false">http://candrews.integralblue.com/?p=23#comment-88</guid>
		<description>Thanks, this is really helpful!

One note - &quot;default-character-set&quot; needs to be preceded by two dashes though in your post this seems to have been converted to a hyphen so I can&#039;t be copied and pasted.</description>
		<content:encoded><![CDATA[<div class='microid-mailto+http:sha1:208bad6ffa44bd85ce8c8b2187bb0119df10409f'>Thanks, this is really helpful!</p>
<p>One note &#8211; &#8220;default-character-set&#8221; needs to be preceded by two dashes though in your post this seems to have been converted to a hyphen so I can&#8217;t be copied and pasted.</p></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: miqrogroove</title>
		<link>http://candrews.integralblue.com/2009/01/utf-8-and-mysql/comment-page-1/#comment-63</link>
		<dc:creator>miqrogroove</dc:creator>
		<pubDate>Sun, 20 Dec 2009 20:57:31 +0000</pubDate>
		<guid isPermaLink="false">http://candrews.integralblue.com/?p=23#comment-63</guid>
		<description>&gt; I checked the documentation for MySQL Connector/J (the JDBC driver), and it says that the connection is UTF-8

I just surfed in and noticed your DB problem here.  Actually, your MySQL Connector encoding was the original cause.  If you had ensured the text in the scripts was UTF-8 and forced the connection to match the single-byte (latin1) encoding of the DB table, then you would have had a binary-safe storage layer.

What threw you off track here was changing the table encoding to UTF-8.  As soon as you did that, it became necessary to guarantee everything between the script and the table was UTF-8 as well, to prevent implicit latin1-to-UTF8 conversion.  (That conversion is bad for binary data)

On the bright side, now all of your string columns will use chars instead of bytes :P</description>
		<content:encoded><![CDATA[<div class='microid-mailto+http:sha1:45e59107f73918d39b7fba87fb59acd12a95f906'>&gt; I checked the documentation for MySQL Connector/J (the JDBC driver), and it says that the connection is UTF-8</p>
<p>I just surfed in and noticed your DB problem here.  Actually, your MySQL Connector encoding was the original cause.  If you had ensured the text in the scripts was UTF-8 and forced the connection to match the single-byte (latin1) encoding of the DB table, then you would have had a binary-safe storage layer.</p>
<p>What threw you off track here was changing the table encoding to UTF-8.  As soon as you did that, it became necessary to guarantee everything between the script and the table was UTF-8 as well, to prevent implicit latin1-to-UTF8 conversion.  (That conversion is bad for binary data)</p>
<p>On the bright side, now all of your string columns will use chars instead of bytes <img src='http://candrews.integralblue.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </div>
]]></content:encoded>
	</item>
</channel>
</rss>

