commit | a6dd3f957f5979fa34a05ba963862de7d0d9df61 | [log] [tgz] |
---|---|---|
author | Adrian Johnson <ajohnson@redneon.com> | Sun Nov 12 10:33:07 2017 +1030 |
committer | Adrian Johnson <ajohnson@redneon.com> | Wed Nov 15 18:53:23 2017 +1030 |
tree | b407bf3a4015aab1ba8cec15d8410dac814826b8 | |
parent | 49107ffcd4d3c9b18fc950d37bede08f89bcfcda [diff] |
Support unicode on windows console 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.