Warn if the Windows console font doesn't support Unicode
commit2955cb99bc30fbaeb1f2da824a13917d22f1537f
authorKarsten Blees <blees@dcon.de>
Sat, 31 Jul 2010 00:04:03 +0000 (31 00:04 +0000)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 17 Feb 2011 12:36:24 +0000 (17 13:36 +0100)
tree228c1a270c1b7027b6668b56dc6ce825f99d2125
parentc3c6c730b59f31767856b17d37a587df2411150c
Warn if the Windows console font doesn't support Unicode

Unicode console output won't display correctly with default settings
because the default console font ("Terminal") only supports the system's
OEM charset. Unfortunately, this is a user specific setting, so it cannot
be easily fixed by e.g. some registry tricks in the setup program.

This change prints a warning on exit if console output contained non-ascii
characters and the console font is supposedly not a TrueType font (which
usually have decent Unicode support).

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