<?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: CakePHP and Character Set in the Database</title>
	<atom:link href="http://nik.chankov.net/2007/10/01/cakephp-and-character-set-in-the-database/feed/" rel="self" type="application/rss+xml" />
	<link>http://nik.chankov.net/2007/10/01/cakephp-and-character-set-in-the-database/</link>
	<description>Technical weblog for articles and titorials related to web development.</description>
	<lastBuildDate>Fri, 12 Mar 2010 18:19:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Afnan</title>
		<link>http://nik.chankov.net/2007/10/01/cakephp-and-character-set-in-the-database/comment-page-1/#comment-4709</link>
		<dc:creator>Afnan</dc:creator>
		<pubDate>Thu, 17 Dec 2009 19:27:10 +0000</pubDate>
		<guid isPermaLink="false">http://nik.chankov.net/2007/10/01/cakephp-and-character-set-in-database/#comment-4709</guid>
		<description>Thanks. it helped and saved my time.</description>
		<content:encoded><![CDATA[<p>Thanks. it helped and saved my time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WhyNotSmile</title>
		<link>http://nik.chankov.net/2007/10/01/cakephp-and-character-set-in-the-database/comment-page-1/#comment-4621</link>
		<dc:creator>WhyNotSmile</dc:creator>
		<pubDate>Wed, 16 Dec 2009 10:14:31 +0000</pubDate>
		<guid isPermaLink="false">http://nik.chankov.net/2007/10/01/cakephp-and-character-set-in-database/#comment-4621</guid>
		<description>Thanks for this - solved my problem exactly!  For ages I&#039;ve been trying to get Cake (well, my website!) to allow me to enter text in Hebrew, and to save it properly and so on.  I was getting really confused, but it turned out to be fairly simple - just setting the encoding to UTF-8.  This piece was the final piece of the puzzle - storing the data in mySQL.

Thank yuo!</description>
		<content:encoded><![CDATA[<p>Thanks for this &#8211; solved my problem exactly!  For ages I&#8217;ve been trying to get Cake (well, my website!) to allow me to enter text in Hebrew, and to save it properly and so on.  I was getting really confused, but it turned out to be fairly simple &#8211; just setting the encoding to UTF-8.  This piece was the final piece of the puzzle &#8211; storing the data in mySQL.</p>
<p>Thank yuo!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mezzi7</title>
		<link>http://nik.chankov.net/2007/10/01/cakephp-and-character-set-in-the-database/comment-page-1/#comment-835</link>
		<dc:creator>mezzi7</dc:creator>
		<pubDate>Mon, 20 Jul 2009 20:41:15 +0000</pubDate>
		<guid isPermaLink="false">http://nik.chankov.net/2007/10/01/cakephp-and-character-set-in-database/#comment-835</guid>
		<description>thanks man, fortunately I found your page which saved me a lot time :D</description>
		<content:encoded><![CDATA[<p>thanks man, fortunately I found your page which saved me a lot time <img src='http://nik.chankov.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mrion</title>
		<link>http://nik.chankov.net/2007/10/01/cakephp-and-character-set-in-the-database/comment-page-1/#comment-831</link>
		<dc:creator>mrion</dc:creator>
		<pubDate>Thu, 16 Jul 2009 09:44:30 +0000</pubDate>
		<guid isPermaLink="false">http://nik.chankov.net/2007/10/01/cakephp-and-character-set-in-database/#comment-831</guid>
		<description>Yet another simple thing, that take many hours of life. Thanks :)</description>
		<content:encoded><![CDATA[<p>Yet another simple thing, that take many hours of life. Thanks <img src='http://nik.chankov.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Flame</title>
		<link>http://nik.chankov.net/2007/10/01/cakephp-and-character-set-in-the-database/comment-page-1/#comment-813</link>
		<dc:creator>Flame</dc:creator>
		<pubDate>Tue, 14 Jul 2009 11:51:44 +0000</pubDate>
		<guid isPermaLink="false">http://nik.chankov.net/2007/10/01/cakephp-and-character-set-in-database/#comment-813</guid>
		<description>I knew I was missing something. This fixed it immediately. Thanks, Nik!</description>
		<content:encoded><![CDATA[<p>I knew I was missing something. This fixed it immediately. Thanks, Nik!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carlos</title>
		<link>http://nik.chankov.net/2007/10/01/cakephp-and-character-set-in-the-database/comment-page-1/#comment-765</link>
		<dc:creator>Carlos</dc:creator>
		<pubDate>Tue, 02 Jun 2009 00:46:48 +0000</pubDate>
		<guid isPermaLink="false">http://nik.chankov.net/2007/10/01/cakephp-and-character-set-in-database/#comment-765</guid>
		<description>Thanks man! 5 hours of my life</description>
		<content:encoded><![CDATA[<p>Thanks man! 5 hours of my life</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Missing Features &#187; Using UTF8 In Your CakePHP App</title>
		<link>http://nik.chankov.net/2007/10/01/cakephp-and-character-set-in-the-database/comment-page-1/#comment-369</link>
		<dc:creator>Missing Features &#187; Using UTF8 In Your CakePHP App</dc:creator>
		<pubDate>Thu, 23 Oct 2008 16:31:07 +0000</pubDate>
		<guid isPermaLink="false">http://nik.chankov.net/2007/10/01/cakephp-and-character-set-in-database/#comment-369</guid>
		<description>[...] there is one more little gem you need to do. You need to set the encoding on your CakePHP MySQL settings to utf8 to ensure that [...]</description>
		<content:encoded><![CDATA[<p>[...] there is one more little gem you need to do. You need to set the encoding on your CakePHP MySQL settings to utf8 to ensure that [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nik Chankov</title>
		<link>http://nik.chankov.net/2007/10/01/cakephp-and-character-set-in-the-database/comment-page-1/#comment-156</link>
		<dc:creator>Nik Chankov</dc:creator>
		<pubDate>Tue, 06 May 2008 20:09:09 +0000</pubDate>
		<guid isPermaLink="false">http://nik.chankov.net/2007/10/01/cakephp-and-character-set-in-database/#comment-156</guid>
		<description>Tom, basically this is the syntax of the database format. if you look in the code of MySQL Database connector you will see there is a function:

&lt;code lang=&quot;php&quot;&gt;
function setEncoding($enc) {
  return $this-&gt;_execute(&#039;SET NAMES &#039; . $enc) != false;
}
&lt;/code&gt;

which do the magic :)
So UTF8 or utf8 - it doesn&#039;t matter in this case, about utf-8 - it is the HTML encoding

Hope this make sense</description>
		<content:encoded><![CDATA[<p>Tom, basically this is the syntax of the database format. if you look in the code of MySQL Database connector you will see there is a function:</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">function</span> setEncoding<span style="color: #009900;">&#40;</span><span style="color: #000088;">$enc</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; <span style="color: #b1b100;">return</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_execute<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'SET NAMES '</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$enc</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">!=</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span></div></div>
<p>which do the magic <img src='http://nik.chankov.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
So UTF8 or utf8 &#8211; it doesn&#8217;t matter in this case, about utf-8 &#8211; it is the HTML encoding</p>
<p>Hope this make sense</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://nik.chankov.net/2007/10/01/cakephp-and-character-set-in-the-database/comment-page-1/#comment-155</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Tue, 06 May 2008 04:02:18 +0000</pubDate>
		<guid isPermaLink="false">http://nik.chankov.net/2007/10/01/cakephp-and-character-set-in-database/#comment-155</guid>
		<description>thx for a very nice post.
i&#039;ve been struggling with UTF-8 for quite a while already. however i still not sure about the different b/w utf8, UTF-8 utf-8

any1 has any idea of which one we&#039;d use?</description>
		<content:encoded><![CDATA[<p>thx for a very nice post.<br />
i&#8217;ve been struggling with UTF-8 for quite a while already. however i still not sure about the different b/w utf8, UTF-8 utf-8</p>
<p>any1 has any idea of which one we&#8217;d use?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dummy&#8217;s guide for converting character set of a web application &#171; memento</title>
		<link>http://nik.chankov.net/2007/10/01/cakephp-and-character-set-in-the-database/comment-page-1/#comment-110</link>
		<dc:creator>Dummy&#8217;s guide for converting character set of a web application &#171; memento</dc:creator>
		<pubDate>Fri, 22 Feb 2008 03:52:14 +0000</pubDate>
		<guid isPermaLink="false">http://nik.chankov.net/2007/10/01/cakephp-and-character-set-in-database/#comment-110</guid>
		<description>[...] need to do is set &#8221;encoding&#8221; variable in your database configuration file. Thanks to Dev weblog for posting this tip. Below is a sample database configuration file that I have used in my CakePHP [...]</description>
		<content:encoded><![CDATA[<p>[...] need to do is set &#8221;encoding&#8221; variable in your database configuration file. Thanks to Dev weblog for posting this tip. Below is a sample database configuration file that I have used in my CakePHP [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
