Windows10 terminal modification command cmd is encoded as UTF-8

1. temporary modification

After entering cmd window, direct execution

chcp 65001

2. permanent modification

In operation, input regedit, findHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor

And "Right - New", select "string value", "Name" column fill autorun, fill numeric datachcp 65001

3. encoded code

437 (English)
65001 (UTF-8)
936 (GBK)



Guess you like

Origin www.cnblogs.com/yifengs/p/11443164.html