thanks too. I had to use it.

2009/11/18 Alexey Nezhdanov <snak...@gmail.com>
> 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<web2py%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/web2py?hl=en
> -~----------~----~----~----~------~----~------~--~---
>
>


-- 
Atenciosamente

-- 
=========================
Alexandre Andrade
Hipercenter.com

--

You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@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.


Reply via email to