Message11276

Author jeff.allen
Recipients bstjean, jeff.allen, liuxy_hes86, zyasoft
Date 2017-03-27.07:45:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1490600739.1.0.716409377845.issue2356@psf.upfronthosting.co.za>
In-reply-to
Content
I've re-written jython.py to use Unicode internally, decoding args and environment variables in-bound, and encoding for subprocess.call() out-bound. Both times we use locale.getpreferredencoding(), which is cp1252 on my system while the console encoding is cp850. It passes test_jython_launcher for a user named "Épreuve" as long as I suppress the site module with -S.

Interestingly, both virtualenv and PyInstaller (on Python 2.7.13) fail for this user with: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc9 ... .
History
Date User Action Args
2017-03-27 07:45:39jeff.allensetmessageid: <1490600739.1.0.716409377845.issue2356@psf.upfronthosting.co.za>
2017-03-27 07:45:39jeff.allensetrecipients: + jeff.allen, zyasoft, liuxy_hes86, bstjean
2017-03-27 07:45:38jeff.allenlinkissue2356 messages
2017-03-27 07:45:38jeff.allencreate