summaryrefslogtreecommitdiff
path: root/compat/basename.c
diff options
context:
space:
mode:
authorLibravatar Karsten Blees <blees@dcon.de>2010-07-31 00:04:03 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-06-10 13:32:50 -0700
commit1edeb9abf5828e317999b4ebe8b7472c494341f2 (patch)
tree8d5117a62ae26f1970406fce753baf68aafdb7b3 /compat/basename.c
parentWin32: detect console streams more reliably (diff)
downloadtgif-1edeb9abf5828e317999b4ebe8b7472c494341f2.tar.xz
Win32: warn if the 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> Signed-off-by: Stepan Kasal <kasal@ucw.cz> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/basename.c')
0 files changed, 0 insertions, 0 deletions