[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Convert UTF8 to Unicode String
Source position: ustringh.inc line 141
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.