System.Character.TCharHelper.ConvertFromUtf32
Delphi
class function ConvertFromUtf32(C: UCS4Char): string; static;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Character.pas | System.Character | TCharHelper |
Description
Converts the C
UTF-32 character to the corresponding UTF-16 character or surrogate pair (the result is a string).
ConvertFromUtf32 converts a UCS4Char (UTF-32 character) to the corresponding UTF-16 character or surrogate pair. The obtained result is returned as a string.