This website works better with JavaScript.
Home
Help
Sign In
cacalabs
/
libcaca
mirror of
https://github.com/cacalabs/libcaca.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
7
Wiki
Activity
Browse Source
slang driver: enable utf8 auto-detection
The slang internal auto-detection of utf8 is only executed by a call to SLutf8_enable(-1).
tags/v0.99.beta20
Bastian Maerkisch
7 years ago
parent
da28e9684e
commit
68b9dcac92
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
caca/driver/slang.c
+ 1
- 0
caca/driver/slang.c
View File
@@ -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
Write
Preview
Loading…
Cancel
Save