<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Django Days &#187; Ask the readers</title>
	<atom:link href="http://djangodays.com/category/ask-the-readers/feed/" rel="self" type="application/rss+xml" />
	<link>http://djangodays.com</link>
	<description>A growing collection of all things Django</description>
	<lastBuildDate>Tue, 20 Apr 2010 05:58:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Using non-ascii in Django templates</title>
		<link>http://djangodays.com/2008/11/10/using-non-ascii-in-django-templates/</link>
		<comments>http://djangodays.com/2008/11/10/using-non-ascii-in-django-templates/#comments</comments>
		<pubDate>Mon, 10 Nov 2008 09:59:20 +0000</pubDate>
		<dc:creator>Joost</dc:creator>
				<category><![CDATA[Ask the readers]]></category>
		<category><![CDATA[non-ascii]]></category>
		<category><![CDATA[question]]></category>

		<guid isPermaLink="false">http://djangodays.com/?p=82</guid>
		<description><![CDATA[I hope some reader can help me uit here&#8230;
We were trying to use non Ascii characters (like ♥ for example) in the Django templates, but couldn&#8217;t get it to work.
We worked around this by using a template variable ( {{ nonAsciiHeart }} for example) and then put the following in the view:
nonAsciiHeart = '\xe2\x99\xa5'
return render('example_template.html', [...]]]></description>
			<content:encoded><![CDATA[<p>I hope some reader can help me uit here&#8230;</p>
<p>We were trying to use non Ascii characters (like ♥ for example) in the Django templates, but couldn&#8217;t get it to work.</p>
<p>We worked around this by using a template variable ( {{ nonAsciiHeart }} for example) and then put the following in the view:</p>
<p><code>nonAsciiHeart = '\xe2\x99\xa5'<br />
return render('example_template.html', {'nonAsciiHeart': nonAsciiHeart})</code></p>
<p>There must be a better way to do this. Does anyone know how? Please share it in the comments!</p>
]]></content:encoded>
			<wfw:commentRss>http://djangodays.com/2008/11/10/using-non-ascii-in-django-templates/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
