Support Unicode console output on Windows
commit928579782e73c0b38db9fae944606d5b19f894ed
authorKarsten Blees <blees@dcon.de>
Sat, 31 Jul 2010 00:04:01 +0000 (31 00:04 +0000)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Mon, 20 Sep 2010 14:53:33 +0000 (20 15:53 +0100)
tree99c14caee5878762f9d03d4db983d5dbb5bf2ce7
parente38a3894c497cd65750473055493204358624c36
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