Message111754
"no byte-oriented representation of the command line is readily available."
Why not using the following recipe?
encoding = locale.getpreferredencoding()
sys.argvb = [arg.decode(encoding, 'surrogateescape') for arg in argv] |
|
Date |
User |
Action |
Args |
2010-07-28 00:53:03 | vstinner | set | recipients:
+ vstinner, loewis, amaury.forgeotdarc, Arfrever |
2010-07-28 00:53:03 | vstinner | set | messageid: <1280278383.58.0.34070022385.issue8776@psf.upfronthosting.co.za> |
2010-07-28 00:53:02 | vstinner | link | issue8776 messages |
2010-07-28 00:53:01 | vstinner | create | |
|