<?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 for Lick My Chip !</title>
	<atom:link href="http://lickmychip.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://lickmychip.com</link>
	<description>Hunt the rabbit</description>
	<lastBuildDate>Sat, 30 Jul 2011 18:18:32 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>Comment on Symony2 Response Object by Romain Neutron</title>
		<link>http://lickmychip.com/2011/07/29/symony2-response-object/#comment-3</link>
		<dc:creator>Romain Neutron</dc:creator>
		<pubDate>Sat, 30 Jul 2011 18:18:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.lickmychip.com/?p=1462#comment-3</guid>
		<description>The prepare() method builds headers with Charset and Content-Type if not set explicitely, but it does not populate the charset method attribute, it sets a local var.
That was what I was explaining ; the resuts is good, but the unit test fails If you do not explicitely set the charset with the setCharset() method.

The unit test i&#039;m thinking about is  asserting that getCharset returns &quot;UTF-8&quot; when you have set a header with :

new Response($content, $code, array(&#039;Content-Type&#039; =&gt; &#039;text/plain; charset=UTF-8&#039;));</description>
		<content:encoded><![CDATA[<p>The prepare() method builds headers with Charset and Content-Type if not set explicitely, but it does not populate the charset method attribute, it sets a local var.<br />
That was what I was explaining ; the resuts is good, but the unit test fails If you do not explicitely set the charset with the setCharset() method.</p>
<p>The unit test i&#8217;m thinking about is  asserting that getCharset returns &#8220;UTF-8&#8243; when you have set a header with :</p>
<p>new Response($content, $code, array(&#8216;Content-Type&#8217; => &#8216;text/plain; charset=UTF-8&#8242;));</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Symony2 Response Object by Fabien</title>
		<link>http://lickmychip.com/2011/07/29/symony2-response-object/#comment-2</link>
		<dc:creator>Fabien</dc:creator>
		<pubDate>Sat, 30 Jul 2011 15:45:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.lickmychip.com/?p=1462#comment-2</guid>
		<description>To have the expected behavior, you can call prepare() on the Response object. It will populate the defaults for the Content-Type and the Charset if not set explicitly.</description>
		<content:encoded><![CDATA[<p>To have the expected behavior, you can call prepare() on the Response object. It will populate the defaults for the Content-Type and the Charset if not set explicitly.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

