You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my opinion, UTF-8 should be the default encoding for Windows users. If developers of delegator.py don't want to do this, it would be nice to have an option for UTF-8.
2. Argumentation
I don't understand, why needs these lines for Windows users.
1. Summary
In my opinion, UTF-8 should be the default encoding for Windows users. If developers of delegator.py don't want to do this, it would be nice to have an option for UTF-8.
2. Argumentation
I don't understand, why needs these lines for Windows users.
More about
locale.getdefaultlocale()
. I have English Windows and Russian language for non-unicode programs. Python interpreter output:I change my language for non-Unicode programs to English (United States) as recommend in this answer:
I restart Windows → I open Python Interpreter again:
Not UTF-8 again. The example shows that
locale.getdefaultlocale()
can't set UTF-8 for Windows.3. Example
SashaDelegator.py
(in UTF-8):I run in console
python SashaDelegator.py
4. Expected behavior
5. Actual behavior
This hack also doesn't help.
I get the same output.
And if I use hacks, I have problems with code quality tools.
6. Environment
Thanks.
The text was updated successfully, but these errors were encountered: