Warn if the Windows console font doesn't support Unicode
commit2b80b16dbde236a3fb16d6b2c1fe56215373696c
authorKarsten Blees <blees@dcon.de>
Sat, 31 Jul 2010 00:04:03 +0000 (31 00:04 +0000)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Mon, 1 Oct 2012 13:34:29 +0000 (1 14:34 +0100)
treebc24c66b409fe055583be2494d419bd6941fbed8
parentd60eed7dafa64e8d5c2fd9309f94aa4fe2757af4
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