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