Display Unicode Characters on the Windows Console

Even in today’s mostly-Unicode world on Windows, the console (i.e. cmd.exe) still defaults to using OEM code pages (i.e. multibyte characters).  To set the console to Unicode mode, use the following code:

This information came from two great articles by Michael Kaplan: