[issue6854] UnicodeDecodeError when retrieving binary data from cgi.FieldStorage()

2009-09-09 Thread loveminix
loveminix added the comment: Is there an update on this? Let me know if more information is needed. -- ___ Python tracker <http://bugs.python.org/issue6

[issue6854] UnicodeDecodeError when retrieving binary data from cgi.FieldStorage()

2009-09-07 Thread loveminix
loveminix added the comment: Here is the trackback (the uploaded file is a PDF file): UnicodeDecodeError Python 3.1.1: /home/chu7/software/bin/python3 Mon Sep 7 12:31:07 2009 A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order

[issue6854] UnicodeDecodeError when retrieving binary data from cgi.FieldStorage()

2009-09-06 Thread loveminix
New submission from loveminix : The following cgi applet uploads a binary file to the server. It gets a "UnicodeDecodeError" inside cgi.FieldStorage(). The same code works in python 2.6. #! /usr/bin/python3 import os, cgi; import cgitb; cgitb.enable(); pathInfo = os.environ.get(

[issue6852] Unicode IO not working in cgi applet

2009-09-06 Thread loveminix
New submission from loveminix : The following cgi applet does output Unicode string correctly in an Ubuntu terminal, but when invoked from a web browser (IE or Firefox) by a client, it doesn't output the Unicode string. Output stops at "...", right before the Unicode string &qu