tickit_utf8_seqlen(3)

tickit_utf8_seqlen3

Determine the length of a utf-8 codepoint encoding

Usage

#include <tickit.h>

int tickit_utf8_seqlen(long codepoint);

Link with -ltickit.

Overview

tickit_utf8_seqlen() determines the number of bytes required in the UTF-8 encoding of the given codepoint and returns it.

Return value

tickit_utf8_seqlen() returns a byte count.

Releases

Unchanged in 4 releases since Debian 10 (Buster).

  1. 10–13

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