Sign in Join
FPDoc Onlineexperiment

ToUCS4 function

In unit unicodedata

Encode unicode UTF16 surrogate pair to UCS4 character.

Declaration

pascal
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

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