1TICKIT_TERM_SET_UTF8(3) Library Functions Manual TICKIT_TERM_SET_UTF8(3)
2
3
4
6 tickit_term_set_utf8, tickit_term_get_utf8 - control UTF-8 mode
7
9 #include <tickit.h>
10
11 void tickit_term_set_utf8(TickitTerm *tt, bool utf8);
12 TickitMaybeBool tickit_term_get_utf8(TickitTerm *tt);
13
14 Link with -ltickit.
15
17 tickit_term_set_utf8() controls whether terminal input is processed ac‐
18 cording to UTF-8 rules, or legacy 8-bit single byte rules. If this
19 function is not called explicitly, it will be detected automatically by
20 inspecting locale variables.
21
22 tickit_term_get_utf8() returns the current value for UTF-8 support as
23 TICKIT_YES or TICKIT_NO, or TICKIT_MAYBE if the value is not yet known
24 and has not been explicitly set.
25
27 tickit_term_set_utf8() returns no value. tickit_term_get_utf8() returns
28 a TickitMaybeBool tri-state boolean value.
29
31 tickit_term_build(3), tickit_term(7), tickit(7)
32
33
34
35 TICKIT_TERM_SET_UTF8(3)