Sign in Join
FPDoc Onlineexperiment

UnicodeIsLowSurrogate function

In unit unicodedata

Check if a UTF16 character is the low character in a surrogate pair.

Declaration

pascal
function UnicodeIsLowSurrogate(const AValue: UnicodeChar): Boolean

Arguments

AValue

UTF16 character to check.

Function result

True if AValue forms the low character of a surrogate pair.

Description

UnicodeIsHighSurrogate checks whether AValue is a valid high character of a surrogate pair, and returns True if this is the case. It does this by checking whether the values are within the bounds for high characters in surrogate pairs.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.