Unit 'LazUTF16' Package
[Overview][Procedures and functions][Index] [#lazutils]

IsUTF16StringValid

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

Declaration

Source position: lazutf16.pas line 47

function IsUTF16StringValid(

  AStr: UnicodeString

):Boolean;

Function result

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

Description

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

Version 4.6 Hosted on Source Forge