I want to show unicode character on my windows console. For this I changed the cmd's font to lucida console and I'm using chcp 65001 before every session I will open a program which will display unicode characters. This only works to session where I ran chcp 65001. If an external program open the cmd instead of myself I can't control it and call chcp before. So I want run it automatically when a new cmd is run (and turn on/off as I want to). Is it possible?
Asked
Active
Viewed 663 times
1
Jack
- 1,195
1 Answers
1
You could use Autorun key in the registry [to run chcp 65001 for each session]
There are two variables you could use (machine and user hives)
HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun and/or
HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun
Set Autorun (create it if it does not exists, type REG_SZ) to chcp 65001