Unit 'unicodedata' Package
[Overview][Resource strings][Constants][Types][Procedures and functions][Index] [#rtl]

ToUCS4

Encode unicode UTF16 surrogate pair to UCS4 character.

Declaration

Source position: unicodedata.pas line 486

function ToUCS4(

  const AHighS: UnicodeChar;

  const ALowS: UnicodeChar

):UCS4Char;

Arguments

AHighS

  

High character of surrogate pair.

ALowS

  

Low character of surrogate pair.

Function result

UCS4 encoded unicode character.

Description

ToUCS4 converts set of unicode (surrogate pair) characters encoded in UTF16: AHighS, ALowS to a UCS4 encoded unicode character.

See also

FromUCS4

  

Convert UCS4 to UNicodeChar.

UnicodeIsHighSurrogate

  

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

UnicodeIsLowSurrogate

  

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

UnicodeIsSurrogatePair

  

Check if a pair of UTF16 encoded characters is a valid surrogate pair.


Documentation generated on: Jul 24 2023