carta
tickit_term_get_utf8(3)

tickit_term_get_utf83

Control utf-8 mode

Usage

void tickit_term_set_utf8(TickitTerm *tt, bool utf8);

TickitMaybeBool tickit_term_get_utf8(TickitTerm *tt);

Link with -ltickit.

Overview

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.

History

  • Debian 13 (Trixie) to Debian 11 (Bullseye): the text shown here
  • Debian 10 (Buster)

From libtickit-dev 0.4.3-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.