System.UTF8EncodeToShortString

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function UTF8EncodeToShortString(const WS: _WideStr): _ShortStr;
function UTF8EncodeToShortString(const US: UnicodeString): _ShortStr;
function UTF8EncodeToShortString(const A: _RawByteStr): _ShortStr;

C++

extern DELPHI_PACKAGE ShortString __fastcall UTF8EncodeToShortString(const WideString WS)/* overload */;

プロパティ

種類 可視性 ソース ユニット
function public
System.pas
System.hpp
System System

説明

文字列を UTF-8 エンコードによる表現に変換します。

UTF8EncodeToShortString を呼び出すと、文字列を UTF-8 による表現に変換できます。S には、変換する文字列を指定します。この関数の結果は、対応する UTF-8 エンコードの ShortString 値となります。

関連項目