System.UTF8ToWideString
Delphi
function UTF8ToWideString(const S: _RawByteStr): _WideStr; inline;
C++
extern DELPHI_PACKAGE System::WideString __fastcall UTF8ToWideString(const RawByteString S);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.pas System.hpp |
System | System |
Description
Converts a UTF-8 encoded string to a WideString.
Call UTF8ToWideString to convert a UTF-8 encoded string to Unicode. S is a RawByteString that contains UTF-8 encoded characters. The result of the function is the corresponding WideString value that represents the string in Unicode.