Always write UTF8 to the console.  Change the console output mode on windows
to UTF8 at startup.