UTF8ToString
Convert UTF8 to Unicode String
Declaration
Source position: ustringh.inc line 142
function UTF8ToString(const s: RawByteString) : UnicodeString;
function UTF8ToString(const S: ShortString) : unicodestring;
function UTF8ToString(const S: PAnsiChar) : unicodestring;
function UTF8ToString(const S: Array of AnsiChar) : unicodestring;
function UTF8ToString(const S: Array of Byte) : unicodestring;
Description
UTF8ToString converts a UTF8 single byte string to a UTF16 encoded unicodestring. The source string S is interpreted as an array of UTF8 characters.