I used this one: https://github.com/cobrateam/python-htmlentities
dont know if web2py's XML() helper has this kind of functionality, but it could be a great thing to include in contrib. On Fri, Sep 9, 2011 at 11:07 AM, Carlos <[email protected]> wrote: > Hi, > > Is there any python function that encodes special chars (e.g. spanish > accents) to html entities?: > > http://www.w3schools.com/html/html_entities.asp > > Thanks, > > Carlos > > -- -- Bruno Rocha [ About me: http://zerp.ly/rochacbruno ] [ Aprenda a programar: http://CursoDePython.com.br ] [ O seu aliado nos cuidados com os animais: http://AnimalSystem.com.br ] [ Consultoria em desenvolvimento web: http://www.blouweb.com ]

