Skip to content
  • Adrian Johnson's avatar
    Support unicode on windows console · a6dd3f95
    Adrian Johnson authored
    The Win32Console should be used in programs that require unicode
    support for command line arguments and stdio ouput on windows. On
    windows it gets the command line arguments from GetCommandLineW and
    converts to UTF-8, and redefines the stdio output functions to convert
    UTF-8 to calls to WriteConsoleW. On other platforms this class is a
    no-op.
    a6dd3f95