Antoine Pitrou added the comment: > 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.
Good catch! It seems you're right. Do you want to provide a patch + tests? ---------- nosy: +pitrou _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22888> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com