[mod_python] utf-8 encoding - still a problem

export at hope.cz export at hope.cz
Fri Feb 2 15:49:57 EST 2007

Thank you all who recently offered a solution to my UTF-8 problem.
So I added to my handler

req.content_type = 'text/html ;charset=utf-8'
req.write('''	<html>


But now when I try to call handler
like http://www..../mod/uploadvideo.py?24795
a download dialog is presented as if I wanted to download that script.

But If I do NOT use 
charset=utf-8 in req.content_type
the script works good( except NOT utf-8 coding).and no download dialog is shown.
Where can be a problem?
Thank you for help

More information about the Mod_python mailing list