Unit 'LazUTF8' Package
[Overview][Types][Classes][Procedures and functions][Variables][Index] [#lazutils]

UTF8CharacterStrictLength (deprecated)

Returns the length in bytes (1..4) for a valid UTF-8 character. Otherwise 0.

Declaration

Source position: lazutf8.pas line 112

function UTF8CharacterStrictLength(

  P: PChar

):Integer;

Description

Remark: Deprecated. Use UTF8CodepointStrictSize instead.

Version 4.4 Generated 2025-11-08 Home