[Overview][Procedures and functions][Index] Reference for unit 'LazUTF16' (#lazutils)

IsUTF16StringValid

Determines if the specified WideString contains valid UTF-16 code points.

Declaration

Source position: lazutf16.pas line 47

function IsUTF16StringValid(

  AWideStr: widestring

):Boolean;

Arguments

AWideStr

  

WideString examined in the routine.

Function result

True if the specified WideString contains valid UTF-16 code points.

Description

Examines the content in AWideStr for valid UTF-16 characters. Calls IsUTF16CharValid for consecutive code point pairs.


Version 3.2 Generated 2024-02-25 Home