Message11276
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 ... . |
|
Date |
User |
Action |
Args |
2017-03-27 07:45:39 | jeff.allen | set | messageid: <1490600739.1.0.716409377845.issue2356@psf.upfronthosting.co.za> |
2017-03-27 07:45:39 | jeff.allen | set | recipients:
+ jeff.allen, zyasoft, liuxy_hes86, bstjean |
2017-03-27 07:45:38 | jeff.allen | link | issue2356 messages |
2017-03-27 07:45:38 | jeff.allen | create | |
|