Message106140
In some situations, the encoding of the command line is incorrect or unknown. sys.argv is decoded with the file system encoding which can be wrong. Eg. see issue #4388 (ok, it's a bug, it should be fixed).
As os.environb, it would be useful to have bytes version of sys.argv to have able to decide the encoding used to decode each argument, or to manipulate bytes if we don't care about the encoding.
See also issue #8775 which propose to add a new encoding to decode sys.argv. |
|
Date |
User |
Action |
Args |
2010-05-20 12:10:56 | vstinner | set | recipients:
+ vstinner |
2010-05-20 12:10:56 | vstinner | set | messageid: <1274357456.02.0.0768864678422.issue8776@psf.upfronthosting.co.za> |
2010-05-20 12:10:54 | vstinner | link | issue8776 messages |
2010-05-20 12:10:54 | vstinner | create | |
|