Hi! I used web2py a lot nowadays, and I'm very pleased with it. The only problem I couldn't solve is when I try to use international (accented) characters in a RSS feed created by web2py I always get an error. I've tried to look into it, but I'm not enough experienced in Python and I couldn't find where the error is.
I'm using web2py v1.81.5 (2010-07-22 23:56:21). Here's the traceback: Traceback (most recent call last): File "/home/istvan/projects/gae/web2py/gluon/restricted.py", line 178, in restricted exec ccode in environment File "/home/istvan/projects/gae/web2py/applications/init/views/ generic.rss", line 12, in <module> response.write(rss(response._vars),escape=False) File "/home/istvan/projects/gae/web2py/gluon/serializers.py", line 53, in rss return rss2.dumps(rss) File "/home/istvan/projects/gae/web2py/gluon/contrib/rss2.py", line 571, in dumps rss.write_xml(s, encoding) File "/home/istvan/projects/gae/web2py/gluon/contrib/rss2.py", line 24, in write_xml self.publish(handler) File "/home/istvan/projects/gae/web2py/gluon/contrib/rss2.py", line 433, in publish _element(handler, 'title', self.title) File "/home/istvan/projects/gae/web2py/gluon/contrib/rss2.py", line 50, in _element handler.characters(obj) File "/usr/lib64/python2.6/site-packages/_xmlplus/sax/saxutils.py", line 309, in characters writetext(self._out, content) File "/usr/lib64/python2.6/site-packages/_xmlplus/sax/saxutils.py", line 188, in writetext stream.write(escape(text, entities)) File "/usr/lib64/python2.6/codecs.py", line 351, in write data, consumed = self.encode(object, self.errors) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 20: ordinal not in range(128)