Change default code page of Windows console to UTF-8

Posted by Regent on Super User See other posts from Super User or by Regent
Published on 2011-04-12T10:42:07Z Indexed on 2012/09/21 9:41 UTC
Read the original article Hit count: 222

Filed under:
|
|
|

Currently I'm running Windows 7 x64 and usually I want all console tools to work with UTF-8 rather than with default code page 850.

Running chcp 65001 in the command prompt prior to use of any tools helps but is there any way to set is as default code page?

Update:

Changing HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\CodePage\OEMCP value to 65001 appear to make the system unable to boot in my case.

Proposed change of HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\Autorun to @chcp 65001>nul served just well for my purpose. (thanks to Ole_Brun)

© Super User or respective owner

Related posts about windows-7

Related posts about Windows