Hi,

I'm making an ajax call from a web2py app to another web2py
controller.

web2py controller:

    def serverfunction():
        response.headers['web2py-component-command'] =
'jsfunction("México")'
        return ''

web2py view (making the ajax call):

    web2py_component("{{=URL('serverfunction')}}")

Everything works ok so far, except for the fact that special
characters are "escaped", e.g. I am not getting "México" correctly
spelled (with the accent on the e), but instead some kind of escape
chars.

What should I do to make this work?.

Thanks,

   Carlos

Reply via email to