Convert UCS4 to UNicodeChar.
Source position: unicodedata.pas line 487
procedure FromUCS4( |
const AValue: UCS4Char; |
out AHighS: UnicodeChar; |
out ALowS: UnicodeChar |
); |
AValue |
|
UCS4 encoded unicode character. |
AHighS |
|
High character of surrogate pair. |
ALowS |
|
Low character of surrogate pair. |
FromUCS4 converts the UCS4 encoded unicode character AValue to a set of unicode (surrogate pair) characters encoded in UTF16: AHighS, ALowS.
|
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. |