<?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: Django and UTF8</title>
	<atom:link href="http://wolfram.kriesing.de/blog/index.php/2007/django-and-utf8/feed" rel="self" type="application/rss+xml" />
	<link>http://wolfram.kriesing.de/blog/index.php/2007/django-and-utf8</link>
	<description>all the other blogs have such cool names, I don't know one ...</description>
	<pubDate>Sat, 04 Feb 2012 12:33:26 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Pythoneer &#187; Django&#8217;s dev server and UTF-8</title>
		<link>http://wolfram.kriesing.de/blog/index.php/2007/django-and-utf8/comment-page-1#comment-91275</link>
		<dc:creator>Pythoneer &#187; Django&#8217;s dev server and UTF-8</dc:creator>
		<pubDate>Fri, 23 Nov 2007 10:35:27 +0000</pubDate>
		<guid isPermaLink="false">http://wolfram.kriesing.de/blog/index.php/2007/django-and-utf8#comment-91275</guid>
		<description>[...] time to time I got this UnicodeEncodeError, but I had done all the things (sitecustomize.py, some more) right in order to configure the system in UTF-8. I [...]</description>
		<content:encoded><![CDATA[<p>[...] time to time I got this UnicodeEncodeError, but I had done all the things (sitecustomize.py, some more) right in order to configure the system in UTF-8. I [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug Napoleone</title>
		<link>http://wolfram.kriesing.de/blog/index.php/2007/django-and-utf8/comment-page-1#comment-14245</link>
		<dc:creator>Doug Napoleone</dc:creator>
		<pubDate>Fri, 02 Feb 2007 16:06:11 +0000</pubDate>
		<guid isPermaLink="false">http://wolfram.kriesing.de/blog/index.php/2007/django-and-utf8#comment-14245</guid>
		<description>For the PyCon apps, we ran into alot of UTF8 issues. I thought I was well ready for them, but that turned out not to be the case, and the thread you mentioned didn't help me at the time.

There is one MAJOR problem still unaddresses, and that is e-mail. It turns out that django's e-mail hooks improperly use DEFAULT_CHARSET and go out of their way to do the wrong thing with the email and smtlib modules. The end result is your e-mail will have a UTF8 encoded subject. 90% of all spam filters automaticly filter such e-mails. (or any e-mail containing a subject with its own MIME header). This includes google, yahoo, MSN, Comcast, and Verizon. There could be many others, those are the ones we ran into.

This caused major problems for us as many of the people who submitted talk proposals or signed up for login accounts never got their e-mail notifications.

The solution was to write our own version of the django sendmail interfaces and monkey patch those back into django. We added two settings DEFAULT_EMAIL_CHARSET and DEFAULT_EMAIL_SUBJECT_CHARSET.

The code is currently hosted on svn.python.org, but requires ssh access. We hope to get anonymous http access soon.

For more information on what we went through to get UTF8 fully working you an chech out our old bugs wiki:
http://us.pycon.org/TX2007/PyConTechBugs

We ran into more than one UTF8 issue. Setting the postgresql DB encoding to UTF8 setting the DEFAULT_CHARSET, and properly dealing with some custom form wrappers to make them UTF8 aware was the least of it. We knew about that out of the box.</description>
		<content:encoded><![CDATA[<p>For the PyCon apps, we ran into alot of UTF8 issues. I thought I was well ready for them, but that turned out not to be the case, and the thread you mentioned didn&#8217;t help me at the time.</p>
<p>There is one MAJOR problem still unaddresses, and that is e-mail. It turns out that django&#8217;s e-mail hooks improperly use DEFAULT_CHARSET and go out of their way to do the wrong thing with the email and smtlib modules. The end result is your e-mail will have a UTF8 encoded subject. 90% of all spam filters automaticly filter such e-mails. (or any e-mail containing a subject with its own MIME header). This includes google, yahoo, MSN, Comcast, and Verizon. There could be many others, those are the ones we ran into.</p>
<p>This caused major problems for us as many of the people who submitted talk proposals or signed up for login accounts never got their e-mail notifications.</p>
<p>The solution was to write our own version of the django sendmail interfaces and monkey patch those back into django. We added two settings DEFAULT_EMAIL_CHARSET and DEFAULT_EMAIL_SUBJECT_CHARSET.</p>
<p>The code is currently hosted on svn.python.org, but requires ssh access. We hope to get anonymous http access soon.</p>
<p>For more information on what we went through to get UTF8 fully working you an chech out our old bugs wiki:<br />
<a href="http://us.pycon.org/TX2007/PyConTechBugs" rel="nofollow">http://us.pycon.org/TX2007/PyConTechBugs</a></p>
<p>We ran into more than one UTF8 issue. Setting the postgresql DB encoding to UTF8 setting the DEFAULT_CHARSET, and properly dealing with some custom form wrappers to make them UTF8 aware was the least of it. We knew about that out of the box.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

