How to set default charset in Windows cmd?
When I open a command line in Windows and type
chcp
I get result Текущая кодовая страница: 866
How do I set the charset to chcp 1251
by default?
Solution 1:
[HKEY_CURRENT_USER\Software\Microsoft\Command Processor]
"AutoRun"="chcp 1251"
Solution 2:
You also can run command in command line:
chcp 1251
After that, you can check the change from the screenshot below: