[issue36609] activate.ps1 in venv for Windows should encoded with BOM

Steve Dower report at bugs.python.org
Fri Apr 12 14:06:53 EDT 2019


Steve Dower <steve.dower at python.org> added the comment:

Seems reasonable.

The most reliable way to do this will be to override the copy function for this file in venv and write it out with "utf-8-sig" encoding. There are many ways that git will break things like this, so I wouldn't trust it to simply accept a modified file.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36609>
_______________________________________


More information about the Python-bugs-list mailing list