Warn if the Windows console font doesn't support Unicode
commit06c1292434453d22f1b13b44762a2c46e8bc54d8
authorKarsten Blees <blees@dcon.de>
Sat, 31 Jul 2010 00:04:03 +0000 (31 00:04 +0000)
committerStepan Kasal <kasal@ucw.cz>
Thu, 15 May 2014 07:40:58 +0000 (15 09:40 +0200)
treefcdc8080dea56cfd7fed04ed8efddf501abc5d6e
parent38b9bfd2fbef031049dc9a81dd1fd0aba8e5db58
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