thanks too. I had to use it.

2009/11/18 Alexey Nezhdanov <[email protected]>

> 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]<web2py%[email protected]>
> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to