Sign in Join
FPDoc Onlineexperiment

UTF8CodepointSize function

In unit LazUTF8

Returns the size of the UTF-8 codepoint in bytes.

Declaration

pascal
function UTF8CodepointSize(p: PChar): Integer

Description

Returns the size of the UTF-8 codepoint in bytes. The return value is for a single codepoint.

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.