Warn if the Windows console font doesn't support Unicode
commit6f86c3ee55c972ebb4b3eb51e807a38aa85d4abe
authorKarsten Blees <blees@dcon.de>
Sat, 31 Jul 2010 00:04:03 +0000 (31 00:04 +0000)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 4 Nov 2011 18:39:47 +0000 (4 13:39 -0500)
treea7d8f0d89960b36add19cc77a207535b1852c3b0
parentbfcdc94ec07542401f33d6e4d88fe59ef89fe9a0
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