System.UTF8ToWideString
Delphi
function UTF8ToWideString(const S: _RawByteStr): _WideStr; inline;
C++
extern DELPHI_PACKAGE WideString __fastcall UTF8ToWideString(const RawByteString S);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.pas System.hpp |
System | System |
説明
UTF-8 エンコードの文字列を WideString に変換します。
UTF8ToWideString を呼び出すと、UTF-8 エンコードの文字列を Unicode に変換できます。S には、UTF-8 エンコードの文字を含む RawByteString を指定します。この関数の結果は、文字列を Unicode で表した、対応する WideString 値となります。