<?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: The Proper Way To Use UTF-8 (PHP/MySQL)</title>
	<atom:link href="http://test.latko.org/?feed=rss2&#038;p=505" rel="self" type="application/rss+xml" />
	<link>http://test.latko.org/?p=505</link>
	<description>A Misanthropic Anthropoid With Something to Say</description>
	<lastBuildDate>Sun, 13 Nov 2022 02:54:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: DR</title>
		<link>http://test.latko.org/?p=505&#038;cpage=1#comment-9199</link>
		<dc:creator>DR</dc:creator>
		<pubDate>Mon, 05 Oct 2009 17:14:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.latko.org/?p=505#comment-9199</guid>
		<description>Good to know. I realized it worked without the collation, but included it for safe measure. Thanks.</description>
		<content:encoded><![CDATA[<p>Good to know. I realized it worked without the collation, but included it for safe measure. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Latko</title>
		<link>http://test.latko.org/?p=505&#038;cpage=1#comment-8097</link>
		<dc:creator>Chris Latko</dc:creator>
		<pubDate>Wed, 02 Sep 2009 00:47:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.latko.org/?p=505#comment-8097</guid>
		<description>Apologies for getting back to you so late. I&#039;ve been on a national tour for the past 16 days. 
 
Here is a code snippet from a DB class I frequently use (the code below is getting garbled a bit): 
 
&lt;pre class=&quot;php&quot;&gt;
public function read($query) { 
$this-&gt;mysqliObj_r-&gt;query(&#039;SET CHARACTER SET &#039;utf8&#039;&#039;); 
$this-&gt;mysqliObj_r-&gt;query(&#039;SET collation_connection = &#039;utf8_general_ci&#039;&#039;); 
if(!$resultObj = $this-&gt;mysqliObj_r-&gt;query($query)) { 
$error = &#039;Query Error: &#039;.$this-&gt;mysqliObj_r-&gt;error.&quot;n&quot;.&#039;SQL: &#039;.$query; 
echo $error.&#039;&lt;br /&gt;&#039;; 
} 
return $resultObj; 
} &lt;/pre&gt;
 
The mysliObj is an internal construct of my class. For more information, check out PHP&#039;s docs on &lt;a href=&quot;http://us3.php.net/manual/en/book.mysqli.php&quot; rel=&quot;nofollow&quot;&gt;mysqli&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Apologies for getting back to you so late. I&#039;ve been on a national tour for the past 16 days. </p>
<p>Here is a code snippet from a DB class I frequently use (the code below is getting garbled a bit): </p>
<pre class="php">
public function read($query) {
$this-&gt;mysqliObj_r-&gt;query(&#039;SET CHARACTER SET &#039;utf8&#039;&#039;);
$this-&gt;mysqliObj_r-&gt;query(&#039;SET collation_connection = &#039;utf8_general_ci&#039;&#039;);
if(!$resultObj = $this-&gt;mysqliObj_r-&gt;query($query)) {
$error = &#039;Query Error: &#039;.$this-&gt;mysqliObj_r-&gt;error.&quot;n&quot;.&#039;SQL: &#039;.$query;
echo $error.&#039;&#039;;
}
return $resultObj;
} </pre>
<p>The mysliObj is an internal construct of my class. For more information, check out PHP&#8217;s docs on <a href="http://us3.php.net/manual/en/book.mysqli.php" rel="nofollow">mysqli</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ehab</title>
		<link>http://test.latko.org/?p=505&#038;cpage=1#comment-7925</link>
		<dc:creator>Ehab</dc:creator>
		<pubDate>Wed, 26 Aug 2009 04:42:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.latko.org/?p=505#comment-7925</guid>
		<description>Could you please show a full php code for using  
mysqliObj-&gt;query(&quot;SET CHARACTER SET &#039;utf8&#039;&quot;); 
mysqliObj-&gt;query(&quot;SET collation_connection = &#039;utf8_general_ci&#039;&quot;); 
and passing date from browser to mysql. 
 
I am just learning this stuff and need to use multilingual data on a website wih  mysql but after a couple days of research I can not seem to get it working. I could not find any help on msqliObj-&gt;  eiher. 
 
Thanks, this would be very appreciated. </description>
		<content:encoded><![CDATA[<p>Could you please show a full php code for using<br />
mysqliObj-&gt;query(&quot;SET CHARACTER SET &#039;utf8&#039;&quot;);<br />
mysqliObj-&gt;query(&quot;SET collation_connection = &#039;utf8_general_ci&#039;&quot;);<br />
and passing date from browser to mysql. </p>
<p>I am just learning this stuff and need to use multilingual data on a website wih  mysql but after a couple days of research I can not seem to get it working. I could not find any help on msqliObj-&gt;  eiher. </p>
<p>Thanks, this would be very appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Latko</title>
		<link>http://test.latko.org/?p=505&#038;cpage=1#comment-5089</link>
		<dc:creator>Chris Latko</dc:creator>
		<pubDate>Fri, 03 Jul 2009 14:03:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.latko.org/?p=505#comment-5089</guid>
		<description>Good to know. I realized it worked without the collation, but included it for safe measure. Thanks. </description>
		<content:encoded><![CDATA[<p>Good to know. I realized it worked without the collation, but included it for safe measure. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maarten</title>
		<link>http://test.latko.org/?p=505&#038;cpage=1#comment-5082</link>
		<dc:creator>Maarten</dc:creator>
		<pubDate>Fri, 03 Jul 2009 13:09:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.latko.org/?p=505#comment-5082</guid>
		<description>The collation is not needed btw, thats just for sorting </description>
		<content:encoded><![CDATA[<p>The collation is not needed btw, thats just for sorting</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jonathanstark</title>
		<link>http://test.latko.org/?p=505&#038;cpage=1#comment-5037</link>
		<dc:creator>jonathanstark</dc:creator>
		<pubDate>Fri, 03 Jul 2009 00:02:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.latko.org/?p=505#comment-5037</guid>
		<description>&lt;p&gt;Spewed a new blog post: The Proper Way To Use UTF-8 (PHP/MySQL) &lt;a href=&quot;http://bit.ly/ysLDv&quot;&gt;http://bit.ly/ysLDv&lt;/a&gt; (via @clatko)&lt;/p&gt;
&lt;p&gt;&lt;i&gt;This comment was originally posted on &lt;a href=&quot;http://twitter.com/jonathanstark/statuses/2445677586&quot; rel=&quot;nofollow&quot;&gt;Twitter&lt;/a&gt;&lt;/i&gt;&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Spewed a new blog post: The Proper Way To Use UTF-8 (PHP/MySQL) <a href="http://bit.ly/ysLDv">http://bit.ly/ysLDv</a> (via @clatko)</p>
<p><i>This comment was originally posted on <a href="http://twitter.com/jonathanstark/statuses/2445677586" rel="nofollow">Twitter</a></i></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Stark</title>
		<link>http://test.latko.org/?p=505&#038;cpage=1#comment-5033</link>
		<dc:creator>Jonathan Stark</dc:creator>
		<pubDate>Fri, 03 Jul 2009 00:01:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.latko.org/?p=505#comment-5033</guid>
		<description>You are my hero. I have been struggling with this for years. I have noticed that phpMyAdmin manages to display the data correctly </description>
		<content:encoded><![CDATA[<p>You are my hero. I have been struggling with this for years. I have noticed that phpMyAdmin manages to display the data correctly</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: clatko</title>
		<link>http://test.latko.org/?p=505&#038;cpage=1#comment-5035</link>
		<dc:creator>clatko</dc:creator>
		<pubDate>Thu, 02 Jul 2009 23:57:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.latko.org/?p=505#comment-5035</guid>
		<description>&lt;p&gt;Spewed a new blog post: The Proper Way To Use UTF-8 (PHP/MySQL) &lt;a href=&quot;http://bit.ly/ysLDv&quot;&gt;http://bit.ly/ysLDv&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;i&gt;This comment was originally posted on &lt;a href=&quot;http://twitter.com/clatko/statuses/2445612773&quot; rel=&quot;nofollow&quot;&gt;Twitter&lt;/a&gt;&lt;/i&gt;&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Spewed a new blog post: The Proper Way To Use UTF-8 (PHP/MySQL) <a href="http://bit.ly/ysLDv">http://bit.ly/ysLDv</a></p>
<p><i>This comment was originally posted on <a href="http://twitter.com/clatko/statuses/2445612773" rel="nofollow">Twitter</a></i></p>
]]></content:encoded>
	</item>
</channel>
</rss>
