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 eryksun
Recipients dstufft, eric.araujo, eryksun, gmljosea
Date 2014-11-17.06:51:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1416207080.7.0.507608534338.issue22888@psf.upfronthosting.co.za>
In-reply-to
Content
On Windows, shouldn't copy_scripts use UTF-8 instead of os.fsencode (MBCS)? The Python launcher executes the shebang line on Windows, and it defaults to UTF-8 if a script doesn't have a BOM. See line 1105 in maybe_handle_shebang:

https://hg.python.org/cpython/file/ab2c023a9432/PC/launcher.c#l1064
History
Date User Action Args
2014-11-17 06:51:20eryksunsetrecipients: + eryksun, eric.araujo, dstufft, gmljosea
2014-11-17 06:51:20eryksunsetmessageid: <1416207080.7.0.507608534338.issue22888@psf.upfronthosting.co.za>
2014-11-17 06:51:20eryksunlinkissue22888 messages
2014-11-17 06:51:20eryksuncreate