Warn if the Windows console font doesn't support Unicode
commit11a11d1646a995538e68e64462c237e0edfd109f
authorKarsten Blees <blees@dcon.de>
Sat, 31 Jul 2010 00:04:03 +0000 (31 00:04 +0000)
committerStepan Kasal <kasal@ucw.cz>
Thu, 29 May 2014 08:39:47 +0000 (29 10:39 +0200)
tree085677f28099267d2c47b1764802bfea6174d112
parent2fde3e070ce20df3c1d8b113a6de2e47fe095fe7
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