System.UTF8ToString

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function UTF8ToString(const S: _RawByteStr): string;
function UTF8ToString(const S: _ShortStr): string;
function UTF8ToString(const S: _PAnsiChr): string;
function UTF8ToString(const S: array of _AnsiChr): string;
function UTF8ToString(const S: array of Byte): string; overload;

C++

extern DELPHI_PACKAGE UnicodeString __fastcall UTF8ToString(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 string.

Call UTF8ToString to convert a UTF-8 encoded string to a string. S is a string or an array of UTF-8 encoded characters. The result of the function is the corresponding decoded string value.

See Also