[Overview][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'LazUTF8' (#lazutils)

UTF8CodepointSize

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

Declaration

Source position: lazutf8.pas line 76

function UTF8CodepointSize(

  p: PChar

):Integer;

Arguments

p

  

UTF-8-encoded value to examine in the function.

Function result

Number of bytes for the codepoint.

Description

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


Version 3.2 Generated 2024-02-25 Home