tickit_term_set_utf8(3)

tickit_term_set_utf83

Control utf-8 mode

Usage

#include <tickit.h>

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.

Releases

4 releases since Debian 10 (Buster); the text changed 1 time.

  1. 10
  2. 11–13

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