System.Character.ConvertFromUtf32

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ConvertFromUtf32(C: UCS4Char): string;

C++

extern DELPHI_PACKAGE System::UnicodeString __fastcall ConvertFromUtf32(System::UCS4Char C);

Properties

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

Description

Warning: ConvertFromUtf32 is deprecated. Please use TCharHelper.ConvertFromUtf32.

Converts a UCS-4 character to the corresponding UTF-16 character or surrogate pair (the result is a string).

ConvertFromUtf32 converts a UCS4Char to the corresponding UTF-16 character or surrogate pair. The obtained result is returned as a string.

See Also


Code Examples