Check if a UTF16 character is the high character in a surrogate pair.
Source position: unicodedata.pas line 493
function UnicodeIsHighSurrogate( |
const AValue: UnicodeChar |
):Boolean; |
AValue |
|
UTF16 character to check. |
True if AValue forms the high character of a surrogate pair.
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.
|
Convert UCS4 to UNicodeChar. |
|
|
Encode unicode UTF16 surrogate pair to UCS4 character. |
|
|
Check if a UTF16 character is the high character in a surrogate pair. |
|
|
Check if a UTF16 character is the low character in a surrogate pair. |
|
|
Check if a pair of UTF16 encoded characters is a valid surrogate pair. |