bellroy / lesswrong-migrated

Automatically exported from code.google.com/p/lesswrong
Other
0 stars 0 forks source link

Encoding issues on edits/.rss page #331

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Only on edits/.rss, *not* the /edits html page
I can't reproduce on my (DP) dev env.

Module _edit_xml:78 in render_body
<<          __M_writer(u'\n    &lt;pre&gt;\n    ')
            # SOURCE LINE 18
            __M_writer(websafe(saxutils.escape("\n".join(thing.diff[2:]), entities)))
            __M_writer(u'\n    &lt;/pre&gt;\n  </description>\n</item>\n')
            return ''>>  __M_writer(websafe(saxutils.escape("\n".join(thing.diff[2:]), entities)))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 251: 
ordinal not in range(128)

Original issue reported on code.google.com by wjmo...@gmail.com on 14 Aug 2012 at 6:40