[issue43364] Add shortcut to enable UTF-8 mode in start menu.

Inada Naoki report at bugs.python.org
Thu Mar 4 09:32:29 EST 2021


Inada Naoki <songofacandy at gmail.com> added the comment:

User may install Python from python.org installer, scoop, conda, and Windows Store.
So envvar is not a right tool to configure only one installation.

Anyway, adding more complex way to configure Python can be discussed later.

Paul Moore againsted adding more way to configure Python [1].
So let's focus on promoting existing way in Python 3.10.

[1] https://mail.python.org/archives/list/python-ideas@python.org/message/BDOV2F3LDSC2YDUR4LCPNHZFJWEZNX5U/

> Yes, if the installer directly sets an environment variable, then the setting should be specific to the installed version, such as PYTHONUTF8_310-32.

Then, suspend GH-24742 (adding checkbox to installer).

In GH-24743, I added the shortcut from the installer. But I am not sure it is the best way, because only Python installed from the installer have it.

I will check how conda installs Python on Windows. If it contains Tools, we may add `enable-utf8mode.bat` and `disable-utf8mode.bat` to the Tools.

----------

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


More information about the Python-bugs-list mailing list