If you're trying to figure out how to change the Windows console font to another one, this post will help you.
Run:
chcp 65001
Then you should be able to change it now.
If you add Python to the ENV path, you can start python directly from the console. But python may complain: "unknown encoding: cp65001"
To fix that:
Add PYTHONIOENCODING=utf-8 as a new ENV variable
Another dumbest thing of windows console is that: the shortcut of cmd.exe won't get saved in the regedit. But if you run cmd.exe directly, the font settings will be saved in the regedit. So If your changes don't stick, you should run cmd.exe directly instead of running the cmd command, which is just a shortcut of cmd.exe. STUPID Windows console!!
No comments:
Post a Comment