Can't print Chinese to HTTP

Gnarlodious gnarlodious at gmail.com
Fri Dec 4 22:41:06 EST 2009


On Dec 2, 11:58 pm, Dennis Lee Bieber wrote:

>         Have you tried
>
>         sys.stdout.write("Content-type:text/plain;charset=utf-8\r\n\r\n")

Yes I tried that when it was suggested, to no avail. All I get is
"Internal server error". All I can imagine is that there is no
"sys.stdout.write" in my Python. No idea why.

-- Gnarlie K5ZN



More information about the Python-list mailing list