Warn if the Windows console font doesn't support Unicode
commitcb1c032ec453799be5ed0ea6b98d4cae3f6dd684
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 Jan 2011 14:15:33 +0000 (8 15:15 +0100)
tree2198efd4fd37d142b395773779f3c2bba92a3f39
parent31bef7b47c17617d05359051d9d69c4a250b7c8b
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