[mod_python] Unicode support?

Nick nick at dd.revealed.net
Thu Jun 24 10:14:30 EDT 2004


Jon-Pierre Gentil wrote:
>>Try:
>>result = result.encode("utf-8")
> 
> 
> My point is that the code is in publisher.py, inside mod_python.  I'm
> not going to change the code of mod_python, at least without making a
> patch for it... and consulting the developers.  I understand the process
> of converting unicode strings, I just wish that mod_python wouldn't do
> it at all.

It may be apache that's doing the encoding.  Check your apache config and 
turn off UTF-8, unless you really need unicode support then that won't help ;-)

Nick


More information about the Mod_python mailing list