[New-bugs-announce] [issue36609] activate.ps1 in venv for Windows should encoded with BOM

정한솔 report at bugs.python.org
Fri Apr 12 04:27:01 EDT 2019


New submission from 정한솔 <hansol.fc at gmail.com>:

"activate.ps1" (venv) is currently encoded as UTF8 without BOM. But this cause an error if path of an environment contains non-ASCII characters. It seems Powershell can't recognize UTF8 without BOM. If I changed encoding of activate.ps1 to UTF8-BOM, it works well.

So I think activate.ps1 should be encoded as UTF8-BOM.

https://stackoverflow.com/questions/14482253/utf8-script-in-powershell-outputs-incorrect-characters

----------
messages: 340014
nosy: 정한솔
priority: normal
severity: normal
status: open
title: activate.ps1 in venv for Windows should encoded with BOM
type: crash
versions: Python 3.6, Python 3.7

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


More information about the New-bugs-announce mailing list