Support Unicode console output on Windows
commitb358fc1d527b7b6c0a0b849b76977efa68e2a7da
authorKarsten Blees <blees@dcon.de>
Sat, 31 Jul 2010 00:04:01 +0000 (31 00:04 +0000)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Fri, 1 Oct 2010 22:27:44 +0000 (1 23:27 +0100)
treeb4192509bbc10e5cd4c20958f7499862e602bc56
parent3a42321a9fd40d645a563262c7a1754e3b239b90
Support Unicode console output on Windows

WriteConsoleW seems to be the only way to reliably print unicode to the
console (without weird code page conversions).

Also redirects vfprintf to the winansi.c version.

Signed-off-by: Karsten Blees <blees@dcon.de>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
compat/mingw.h
compat/winansi.c