System.Character.TCharacter.ConvertFromUtf32

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class function ConvertFromUtf32(C: UCS4Char): string; static;

C++

static System::UnicodeString __fastcall ConvertFromUtf32(unsigned C);

Properties

Type Visibility Source Unit Parent
function public
System.Character.pas
System.Character.hpp
System.Character TCharacter

Description

Converts a 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.

See Also

Code Examples