On Sat, Nov 14, 2015 at 7:15 PM, Chris Angelico <[email protected]> wrote: > Can the py.exe launcher handle a UTF-16 shebang? (I'm pretty sure Unix > program loaders won't.) That alone might be a reason for strongly > encouraging ASCII-compat encodings.
The launcher supports shebangs encoded as UTF-8 (default), UTF-16 (LE/BE), and UTF-32 (LE/BE): https://hg.python.org/cpython/file/v3.5.0/PC/launcher.c#l1138 _______________________________________________ Python-Dev mailing list [email protected] https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
