Help needed with python unicode cgi-bin script

weheh weheh at verizon.net
Tue Dec 11 11:21:40 EST 2007


import sys

if sys.platform == "win32":
    import os, msvcrt
    msvcrt.setmode(sys.stdout.fileno(), os.O_BINARY)


"Jack" <nospam at invalid.com> wrote in message 
news:A72dne5UzKYftsPanZ2dnUVZ_uKpnZ2d at comcast.com...
> Just want to make sure, how exactly are you doing that?
>
>> Thanks for the reply, Jack. I tried setting mode to binary but it had no
>> affect.
>
> 





More information about the Python-list mailing list