What's the code page of UTF-8?

My command prompt's default code page is 936.

I need to change it to UTF-8.

chcp 65001

The above doesn't work. What's the correct one?


Solution 1:

In order for chcp 65001 to work, you must be using a TrueType font in the command prompt. One such font is Lucida Console.

To use Lucida Console:

  • Right click on the window title bar
  • Select Properties
  • Select the tab Font
  • Select Lucida Console
  • Press OK