Trying to set a cookie within a python script

Thomas Jollans thomas at
Mon Aug 2 22:48:18 CEST 2010

On 08/02/2010 04:20 AM, Νίκος wrote:
> Also my greek print appear in funny encoding although i do use # -*-
> coding: utf-8 -*-

That's because you never told the web browser which encoding you're using.

Content-Type: text/html; charset=UTF-8

More information about the Python-list mailing list