mod_python and unicode
Olivier Dormond
Olivier.Dormond at epfl.ch
Wed Mar 24 03:53:19 EST 2004
Hi,
I'm writing a few web tools in python using mod_python which
interact with an LDAP server. The server's answers are UTF-8
encoded and when converting them to latin-1 I get:
RuntimeError: cannot unmarshal code objects in restricted execution mode
Removing the restriction on the execution mode from mod_python
doesn't seem possible so I'd like to know if there is any
possibility to decode unicode without loading the codecs module.
Cheers,
Odie
More information about the Python-list
mailing list