[issue13329] Runs normal as console script but falls as CGI

2013-10-13 Thread Georg Brandl
Georg Brandl added the comment: Closing due to lack of feedback. -- nosy: +georg.brandl resolution: -> out of date status: pending -> closed ___ Python tracker ___ _

[issue13329] Runs normal as console script but falls as CGI

2011-11-12 Thread Petri Lehtinen
Changes by Petri Lehtinen : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue13329] Runs normal as console script but falls as CGI

2011-11-12 Thread Éric Araujo
Éric Araujo added the comment: The contents are valid UTF-8; the problem does not seem related to PYTHONIOENCODING (run “python3.2 Test.py | cat” so that stdout is not a tty; this used to be buggy in 2.x, hence PYTHONIOENCODING, but in 3.x the encoding of stdout is UTF-8 even in a pipeline).

[issue13329] Runs normal as console script but falls as CGI

2011-11-03 Thread Petri Lehtinen
Petri Lehtinen added the comment: How are you running the CGI script? Are you sure that the PYTHONIOENCODING environment variable isn't set by the HTTP server? -- nosy: +petri.lehtinen ___ Python tracker

[issue13329] Runs normal as console script but falls as CGI

2011-11-02 Thread Nick Rowan
New submission from Nick Rowan : There is a Python script that tries to print a message in Russian language. It's okay when script runs in console, but it causes DecodeUnicodeError if it invokes as CGI. -- components: Interpreter Core, Library (Lib), Unicode files: Test.py messages: 14