oops. Thanks.
On Nov 17, 10:58 pm, Alexey Nezhdanov <snak...@gmail.com> wrote:
> Hello. I noticed that generic.rss produces non utf-8 text. Even worse - it
> produces iso-8859-1 text WITHOUT AN OPTION TO CHANGE THAT!
>
> So I made the following change to gluon/contrib/rss2.py :
>
> def dumps(rss, encoding='utf-8'):
> s = cStringIO.StringIO()
> rss.write_xml(s, encoding)
> return s.getvalue()
>
> --
> Regards
> Alexey Nezhdanov
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to
web2py+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---