Warn if the Windows console font doesn't support Unicode
commit7a3edda1accf08bb1a4972a8aeda9c696fc68fbc
authorKarsten Blees <blees@dcon.de>
Sat, 31 Jul 2010 00:04:03 +0000 (31 00:04 +0000)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Sun, 29 Jan 2012 10:58:15 +0000 (29 10:58 +0000)
tree392d8f0e90b103dd4778441df457f6aec98f904d
parent26a90188efba7946ebabb77fd969d28032b61999
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