Warn if the Windows console font doesn't support Unicode
commit16df0e9a822fbd31596661740b8d8b108f0f3ecc
authorKarsten Blees <blees@dcon.de>
Sat, 31 Jul 2010 00:04:03 +0000 (31 00:04 +0000)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 1 Jun 2011 10:38:42 +0000 (1 12:38 +0200)
treeef2c9f0e23ba142d6a8e93e5c11c62224d9a6a52
parent57d7fef28fb0c07caac28eec703a22eac6e969ef
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