Change CodePage in CMD permanently?

Lyn picture Lyn · Sep 15, 2011 · Viewed 32.1k times · Source

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?

Answer

Mojtaba Rezaeian picture Mojtaba Rezaeian · May 7, 2015

Here I found a better solution:

  1. Start -> Run -> regedit
  2. Go to [HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor]
  3. Add new String Value named: Autorun
  4. Change the value to 'chcp 437'