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

UTF8CharacterStrictLength (deprecated)

For a valid UTF-8 character it returns the length in bytes (1..4). Otherwise 0.

Declaration

Source position: lazutf8.pas line 109

function UTF8CharacterStrictLength(

  P: PChar

):Integer;

The latest version of this document can be found at lazarus-ccr.sourceforge.net.