CMD setting UTF-8
- It only works on the current window. Enter the CMD command window first (shortcut key: win key + R)
- Directly enter “CHCP 65001” and press enter to execute. At this time, the window code is already UTF-8 code.
- Press Win + R, enter regedit and confirm
- Find HKEY in order_ LOCAL_ MACHINE\SOFTWARE\Microsoft\Command Processor
- Right click – new and select “string value”
- Name it “autorun”, right-click to modify, fill in “CHCP 65001” for numerical data, and click OK
- At this time, open the CMD command window and you will see that, like the previously temporarily modified window, the code has been modified to UTF-8, and each time you open CMD, it is UTF-8.