Sign in Join
FPDoc Onlineexperiment

FromUCS4 procedure

In unit unicodedata

Convert UCS4 to UNicodeChar.

Declaration

pascal
procedure FromUCS4(const AValue: UCS4Char; out AHighS: UnicodeChar; 
 out ALowS: UnicodeChar)

Arguments

AValue

UCS4 encoded unicode character.

AHighS

High character of surrogate pair.

ALowS

Low character of surrogate pair.

Description

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

See also

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