From 68b9dcac92188f2ca2fd47a0fc93e5afc3e655e7 Mon Sep 17 00:00:00 2001 From: Bastian Maerkisch Date: Sun, 3 Dec 2017 07:49:27 +0100 Subject: [PATCH] slang driver: enable utf8 auto-detection The slang internal auto-detection of utf8 is only executed by a call to SLutf8_enable(-1). --- caca/driver/slang.c | 1 + 1 file changed, 1 insertion(+) diff --git a/caca/driver/slang.c b/caca/driver/slang.c index 9714956..6cf5fa1 100644 --- a/caca/driver/slang.c +++ b/caca/driver/slang.c @@ -178,6 +178,7 @@ static int slang_init_graphics(caca_display_t *dp) #endif #ifdef HAVE_SLSMG_UTF8_ENABLE + SLutf8_enable(-1); /* execute utf8 autodetection */ SLsmg_utf8_enable(1); /* 1 == force, 0 == disable, -1 == autodetect */ SLtt_utf8_enable(-1); #endif