CMD: How to use non-English characters?

This question was asked at stackoverflow here and here.

Summary

  • Change your code page to UTF-8 with chcp 65001 in your batch file or CMD session.
    enter image description here

  • Start CMD with CMD /u to cause CMD to redirect to files in UTF-16, Little Endian.
    Windows distinguishes between showed up text and redirected text to a file.

  • For viewing Unicode characters in a CMD Window you need to use Lucida Console or Consolas as font instead of Raster Font. Or else some unicode characters are showed up garbled.
    enter image description here