System.UTF8ToUnicodeString

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function UTF8ToUnicodeString(const S: _RawByteStr): UnicodeString;
function UTF8ToUnicodeString(const S: _PAnsiChr): UnicodeString; overload;
function UTF8ToUnicodeString(const S: _ShortStr): UnicodeString; overload;

C++

extern DELPHI_PACKAGE UnicodeString __fastcall UTF8ToUnicodeString(const RawByteString S)/* overload */;

Properties

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

Description

Converts a UTF-8 encoded string to a Unicode string.

Call UTF8ToUnicodeString to convert a UTF-8 encoded string to Unicode. S is a string that contains UTF-8 encoded characters. The result of the function is the corresponding Unicode string value.

See Also