My Windows cmd CodePage is now under 65001. Since I was doing some Android stuff and need to use console log, but forget how changing it now.
When using chcp 437 to change the CodePage back, it works. But if I start a new cmd window, it goes back.
How to do the chcp thing to make it pernament?
To start it from the taskbar or anywhere else, make a shortcut (you can name it cmd. unicode.exe or whatever you like) and change its Target to C:\Windows\System32\cmd.exe /K chcp 65001 .
The chcp command is used to supplement the international keyboard and character set information, allowing MS-DOS to be used in other countries and with different languages. Before the chcp command can be used, the nlsfunc must be loaded, and the country. sys must be loaded into the config. sys.
Here I found a better solution:
- Start -> Run -> regedit
- Go to [HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor]
- Add new String Value named: Autorun
- Change the value to 'chcp 437'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With