Thanks for your reaction.
When I saw aws-cli repository for discussion in other thread, I found this issue too.
It’s very obvious that this is common bug, and many Windows users are suffered by default encoding is not UTF-8.
On the other hand, it’s very unobvious that how many (or how few) Windows users are suffered by the backward incompatible change in mid-2020s. It’s devil’s proof.
So my PEP 597 (2nd) propose environment variable to configure default encoding. If it is accepted, you can change the default text encoding. We can postpone the discussion about when change the default of “default text encoding”.
But we have PYTHONUTF8 already. The most important part of PEP 597 is why UTF-8 mode is not enough for Windows users.
So, if you would like to contribute this discussion, it’s very helpful that trying UTF-8 mode now (maybe with
If it is enough, we don’t need to add yet another configuration option.