[mod_python] StringField encoding?

dharana dharana at dharana.net
Sun Jun 19 12:44:24 EDT 2005


Hello,

I have a form in one page. I send it with accented chars. Apache is configured 
to send content as UTF-8 and browser is Firefox so I presume Modpython gets 
utf-8 encoded data.

StringField inherits from str so, in this case, what kind of encoding should I 
pressume it has? I'm having trouble trying to decode('utf-8') the StringField 
instance, that's why I ask.

-- 
dharana



More information about the Mod_python mailing list