---
name: "tickit_utf8_seqlen"
section: "3"
platform: "linux"
package: "libtickit-dev"
version: "0.4.3-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/tickit_utf8_seqlen"
---

# tickit\_utf8\_seqlen(3)

determine the length of a UTF-8 codepoint encoding

## NAME

tickit\_utf8\_seqlen - determine the length of a UTF-8 codepoint encoding

## SYNOPSIS

```
#include <tickit.h>

int tickit_utf8_seqlen(long codepoint);
```

Link with *-ltickit*.

## DESCRIPTION

**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.

## SEE ALSO

[**tickit\_utf8\_put**(3)](/tickit_utf8_put/3.md), [**tickit**(7)](/tickit/7.md)
