Author vstinner
Recipients vstinner
Date 2010-05-20.12:10:54
SpamBayes Score 1.03946e-06
Marked as misclassified No
Message-id <>
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:56vstinnersetrecipients: + vstinner
2010-05-20 12:10:56vstinnersetmessageid: <>
2010-05-20 12:10:54vstinnerlinkissue8776 messages
2010-05-20 12:10:54vstinnercreate