表示: Delphi
C++
表示設定
System.UTF8EncodeToShortString
提供:XE2 API Documentation
Delphi
function UTF8EncodeToShortString(const WS: WideString): ShortString; function UTF8EncodeToShortString(const US: UnicodeString): ShortString; function UTF8EncodeToShortString(const A: RawByteString): ShortString;
C++
extern 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 値となります。