I realize the interface to the Windows API is UTF-16, but the program interface to the console (stdout) is not - it&#x27;s based on 8 bit characters, generally code page 437. Converting from UTF-8 to UTF-16 is trivial, as long as you get the full byte sequence that makes up a character.