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 Drekin
Recipients Drekin, ezio.melotti, paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Date 2016-07-08.15:38:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1467992332.72.0.0240653508758.issue27469@psf.upfronthosting.co.za>
In-reply-to
Content
When a Python script is run by drag-and-dropping another file on it in Windows explorer, the other file's path becomes sys.argv[1]. However, when the path contains a Unicode characters (e.g. α), it gets crippled – it is replaced by ordinary question mark.

Maybe this is not Python's fault. Calling directly GetCommandLineW already contains that question mark. I'm just curious whether the original path even can be reconstructed.
History
Date User Action Args
2016-07-08 15:38:52Drekinsetrecipients: + Drekin, paul.moore, vstinner, tim.golden, ezio.melotti, zach.ware, steve.dower
2016-07-08 15:38:52Drekinsetmessageid: <1467992332.72.0.0240653508758.issue27469@psf.upfronthosting.co.za>
2016-07-08 15:38:52Drekinlinkissue27469 messages
2016-07-08 15:38:52Drekincreate