Warn if the Windows console font doesn't support Unicode
commit841953a73ea8c19aa2740508a3eb6997aee450a2
authorKarsten Blees <blees@dcon.de>
Sat, 31 Jul 2010 00:04:03 +0000 (31 00:04 +0000)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Sat, 8 Oct 2011 19:47:15 +0000 (8 14:47 -0500)
treec1e2c1d0315eeb0d2de4bd0a72cc387f20301d34
parent09a771abaca0acbe2e6d51185e51aefb57c953e9
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