Change Command Line Code Page
Problem
The fonts in the list is based on the code page. So in order to select certain font, the code page needs to be changed.
Solution
the core is to run chcp
command
CHCP 65001
Different ways to do it:
- run this command manually every time you start the command line
- create a batch file under
C:\\Windows\\System32
, then create a shortcut to the command line with/k
option to point to the batch file - create a string key of
AutoRun
underHKEY\_LOCAL\_MACHINE\\Software\\Microsoft\\Command Processor
, and the value is@chcp 65001>nul