<?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: Display non-english feeds correctly (Beta 2)</title>
	<atom:link href="http://simplepie.org/blog/2006/06/03/display-non-english-feeds-correctly-beta-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://simplepie.org/blog/2006/06/03/display-non-english-feeds-correctly-beta-2/</link>
	<description>Behind the scenes of SimplePie development.</description>
	<lastBuildDate>Wed, 25 Feb 2009 12:49:00 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Marc</title>
		<link>http://simplepie.org/blog/2006/06/03/display-non-english-feeds-correctly-beta-2/comment-page-1/#comment-2856</link>
		<dc:creator>Marc</dc:creator>
		<pubDate>Wed, 14 Mar 2007 11:39:59 +0000</pubDate>
		<guid isPermaLink="false">http://simplepie.org/blog/2006/06/03/display-non-english-feeds-correctly-beta-2/#comment-2856</guid>
		<description>The handle_content_type didnt always handle the different languages so I parsed thru the array like this to format the special characters properly. 

$title = $item-&gt;get_title();
$title = mb_convert_encoding($title,&quot;HTML-ENTITIES&quot;,&quot;auto&quot;);
echo preg_replace(&quot;/[\r\n]/&quot;,&quot; &quot;,$title).&quot;##&quot;;   // Title</description>
		<content:encoded><![CDATA[<p>The handle_content_type didnt always handle the different languages so I parsed thru the array like this to format the special characters properly. </p>
<p>$title = $item-&gt;get_title();<br />
$title = mb_convert_encoding($title,&#8221;HTML-ENTITIES&#8221;,&#8221;auto&#8221;);<br />
echo preg_replace(&#8221;/[\r\n]/&#8221;,&#8221; &#8220;,$title).&#8221;##&#8221;;   // Title</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic page generated in 1.765 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2009-09-29 12:59:25 -->
<!-- Compression = gzip -->