This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Arfrever, amaury.forgeotdarc, loewis, vstinner
Date 2010-07-28.00:53:01
SpamBayes Score 0.037113372
Marked as misclassified No
Message-id <1280278383.58.0.34070022385.issue8776@psf.upfronthosting.co.za>
In-reply-to
Content
"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]
History
Date User Action Args
2010-07-28 00:53:03vstinnersetrecipients: + vstinner, loewis, amaury.forgeotdarc, Arfrever
2010-07-28 00:53:03vstinnersetmessageid: <1280278383.58.0.34070022385.issue8776@psf.upfronthosting.co.za>
2010-07-28 00:53:02vstinnerlinkissue8776 messages
2010-07-28 00:53:01vstinnercreate