tickit_term_set_utf8 - Man Page

control UTF-8 mode

Synopsis

#include <tickit.h>

void tickit_term_set_utf8(TickitTerm *tt, bool utf8);
TickitMaybeBool tickit_term_get_utf8(TickitTerm *tt);

Link with -ltickit.

Description

tickit_term_set_utf8() controls whether terminal input is processed according to UTF-8 rules, or legacy 8-bit single byte rules. If this function is not called explicitly, it will be detected automatically by inspecting locale variables.

tickit_term_get_utf8() returns the current value for UTF-8 support as TICKIT_YES or TICKIT_NO, or TICKIT_MAYBE if the value is not yet known and has not been explicitly set.

Return Value

tickit_term_set_utf8() returns no value. tickit_term_get_utf8() returns a TickitMaybeBool tri-state boolean value.

See Also

tickit_term_new(3), tickit_term(7), tickit(7)

Referenced By

tickit_term(7).

The man page tickit_term_get_utf8(3) is an alias of tickit_term_set_utf8(3).