<?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: mySQL forcing utf-8 compliance for all connections.</title>
	<atom:link href="http://www.saiweb.co.uk/mysql/mysql-forcing-utf-8-compliance-for-all-connections/feed" rel="self" type="application/rss+xml" />
	<link>http://www.saiweb.co.uk/mysql/mysql-forcing-utf-8-compliance-for-all-connections</link>
	<description>Ramblings of a Sys admin</description>
	<lastBuildDate>Mon, 06 Feb 2012 14:55:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: AMIT KUMAR SINGH</title>
		<link>http://www.saiweb.co.uk/mysql/mysql-forcing-utf-8-compliance-for-all-connections/comment-page-1#comment-87250</link>
		<dc:creator>AMIT KUMAR SINGH</dc:creator>
		<pubDate>Fri, 09 Dec 2011 05:37:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.saiweb.co.uk/mysql/mysql-forcing-utf-8-compliance-for-all-connections#comment-87250</guid>
		<description>When I am transefering a unicode data like 日本語 by C++ progrmme from Mysql source database to Mysql destination database, i am getting proper HEX value
for given word but not able to write it in Mysql destination database,it is getting replce with ??? maks.
 even by using coneection string as utf-8, column is type Varcahr(100), 

If i am using coneection string as utf-16 it is not able to eastablish connection.

ANY SOLUTION..ANY ONE HAVE?? PLz Rply...</description>
		<content:encoded><![CDATA[<p>When I am transefering a unicode data like 日本語 by C++ progrmme from Mysql source database to Mysql destination database, i am getting proper HEX value<br />
for given word but not able to write it in Mysql destination database,it is getting replce with ??? maks.<br />
 even by using coneection string as utf-8, column is type Varcahr(100), </p>
<p>If i am using coneection string as utf-16 it is not able to eastablish connection.</p>
<p>ANY SOLUTION..ANY ONE HAVE?? PLz Rply&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maurice</title>
		<link>http://www.saiweb.co.uk/mysql/mysql-forcing-utf-8-compliance-for-all-connections/comment-page-1#comment-85329</link>
		<dc:creator>Maurice</dc:creator>
		<pubDate>Sat, 03 Dec 2011 22:47:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.saiweb.co.uk/mysql/mysql-forcing-utf-8-compliance-for-all-connections#comment-85329</guid>
		<description>Anyone knows how to do something similar to this for java? I changed the my.cnf file to be exactly what is written on top but it still doesn&#039;t work unless I use set names utf8.</description>
		<content:encoded><![CDATA[<p>Anyone knows how to do something similar to this for java? I changed the my.cnf file to be exactly what is written on top but it still doesn&#8217;t work unless I use set names utf8.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: UTF8 in MySQL</title>
		<link>http://www.saiweb.co.uk/mysql/mysql-forcing-utf-8-compliance-for-all-connections/comment-page-1#comment-71382</link>
		<dc:creator>UTF8 in MySQL</dc:creator>
		<pubDate>Tue, 25 Oct 2011 17:52:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.saiweb.co.uk/mysql/mysql-forcing-utf-8-compliance-for-all-connections#comment-71382</guid>
		<description>[...] MySQL forcing utf-8 compliance for all connections [...]</description>
		<content:encoded><![CDATA[<p>[...] MySQL forcing utf-8 compliance for all connections [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://www.saiweb.co.uk/mysql/mysql-forcing-utf-8-compliance-for-all-connections/comment-page-1#comment-54572</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Tue, 06 Sep 2011 16:53:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.saiweb.co.uk/mysql/mysql-forcing-utf-8-compliance-for-all-connections#comment-54572</guid>
		<description>The mysqld variable &quot;default-character-set=utf8&quot; is unknown for v5.5 (not sure about others) so you have to use this...

[mysqld]
init_connect=&#039;SET collation_connection = utf8_general_ci&#039;
init_connect=&#039;SET NAMES utf8&#039;
character-set-server=utf8
collation-server=utf8_general_ci
skip-character-set-client-handshake</description>
		<content:encoded><![CDATA[<p>The mysqld variable &#8220;default-character-set=utf8&#8243; is unknown for v5.5 (not sure about others) so you have to use this&#8230;</p>
<p>[mysqld]<br />
init_connect=&#8217;SET collation_connection = utf8_general_ci&#8217;<br />
init_connect=&#8217;SET NAMES utf8&#8242;<br />
character-set-server=utf8<br />
collation-server=utf8_general_ci<br />
skip-character-set-client-handshake</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gary</title>
		<link>http://www.saiweb.co.uk/mysql/mysql-forcing-utf-8-compliance-for-all-connections/comment-page-1#comment-47801</link>
		<dc:creator>Gary</dc:creator>
		<pubDate>Wed, 27 Jul 2011 16:25:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.saiweb.co.uk/mysql/mysql-forcing-utf-8-compliance-for-all-connections#comment-47801</guid>
		<description>Hi

I cannot locate the my.cnf file, could someone please clarify where I can locate this file. I read else where that I should create an &quot;\etc\my.cnf&quot; folder and file however this for some reason does not work.

G</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>I cannot locate the my.cnf file, could someone please clarify where I can locate this file. I read else where that I should create an &#8220;\etc\my.cnf&#8221; folder and file however this for some reason does not work.</p>
<p>G</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sathish</title>
		<link>http://www.saiweb.co.uk/mysql/mysql-forcing-utf-8-compliance-for-all-connections/comment-page-1#comment-34879</link>
		<dc:creator>Sathish</dc:creator>
		<pubDate>Fri, 18 Feb 2011 17:57:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.saiweb.co.uk/mysql/mysql-forcing-utf-8-compliance-for-all-connections#comment-34879</guid>
		<description>Thank you very much....

The following 3 lines in my.conf given the me perfect result.

init_connect=&#039;SET collation_connection = utf8_unicode_ci; SET NAMES utf8;&#039;
character_set_server = utf8
collation_server=utf8_unicode_ci

Thank you once again</description>
		<content:encoded><![CDATA[<p>Thank you very much&#8230;.</p>
<p>The following 3 lines in my.conf given the me perfect result.</p>
<p>init_connect=&#8217;SET collation_connection = utf8_unicode_ci; SET NAMES utf8;&#8217;<br />
character_set_server = utf8<br />
collation_server=utf8_unicode_ci</p>
<p>Thank you once again</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://www.saiweb.co.uk/mysql/mysql-forcing-utf-8-compliance-for-all-connections/comment-page-1#comment-33561</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Mon, 31 Jan 2011 10:07:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.saiweb.co.uk/mysql/mysql-forcing-utf-8-compliance-for-all-connections#comment-33561</guid>
		<description>Most useful!  Thanks for sharing.</description>
		<content:encoded><![CDATA[<p>Most useful!  Thanks for sharing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jordan</title>
		<link>http://www.saiweb.co.uk/mysql/mysql-forcing-utf-8-compliance-for-all-connections/comment-page-1#comment-27608</link>
		<dc:creator>Jordan</dc:creator>
		<pubDate>Thu, 28 Oct 2010 12:44:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.saiweb.co.uk/mysql/mysql-forcing-utf-8-compliance-for-all-connections#comment-27608</guid>
		<description>Great write-up, you&#039;ve saved me countless hours of frustration dealing with the world&#039;s in ability to agree on a common set of characters.  Thanks!! 
This worked perfectly!</description>
		<content:encoded><![CDATA[<p>Great write-up, you&#8217;ve saved me countless hours of frustration dealing with the world&#8217;s in ability to agree on a common set of characters.  Thanks!!<br />
This worked perfectly!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: moon</title>
		<link>http://www.saiweb.co.uk/mysql/mysql-forcing-utf-8-compliance-for-all-connections/comment-page-1#comment-22090</link>
		<dc:creator>moon</dc:creator>
		<pubDate>Tue, 15 Jun 2010 14:57:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.saiweb.co.uk/mysql/mysql-forcing-utf-8-compliance-for-all-connections#comment-22090</guid>
		<description>i&#039;ve just slapped myself.
good doc btw. ty.</description>
		<content:encoded><![CDATA[<p>i&#8217;ve just slapped myself.<br />
good doc btw. ty.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oliver Nassar</title>
		<link>http://www.saiweb.co.uk/mysql/mysql-forcing-utf-8-compliance-for-all-connections/comment-page-1#comment-15493</link>
		<dc:creator>Oliver Nassar</dc:creator>
		<pubDate>Thu, 07 Jan 2010 10:04:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.saiweb.co.uk/mysql/mysql-forcing-utf-8-compliance-for-all-connections#comment-15493</guid>
		<description>&quot;When a client connects to the server, it sends the name of the character set that it wants to use. The server uses the name to set the character_set_client, character_set_results, and character_set_connection system variables. In effect, the server performs a SET NAMES operation using the character set name.&quot;

--
found that in mysql&#039;s docs. is that saying that since we have the init_connect setting, when we connect to the db, from say a php script, it&#039;ll automatically set those three settings accordingly on it&#039;s own?</description>
		<content:encoded><![CDATA[<p>&#8220;When a client connects to the server, it sends the name of the character set that it wants to use. The server uses the name to set the character_set_client, character_set_results, and character_set_connection system variables. In effect, the server performs a SET NAMES operation using the character set name.&#8221;</p>
<p>&#8211;<br />
found that in mysql&#8217;s docs. is that saying that since we have the init_connect setting, when we connect to the db, from say a php script, it&#8217;ll automatically set those three settings accordingly on it&#8217;s own?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using apc
Database Caching using apc
Object Caching 530/539 objects using apc
Content Delivery Network via Rackspace Cloud Files: cdn.saiweb.co.uk

Served from: www.saiweb.co.uk @ 2012-02-08 21:54:35 -->
