TUTF8Encoding
[Properties (by Name)][Methods (by Name)][Events (by Name)]
UTF-8 Unicode encoding
Declaration
Source position: sysencodingh.inc line 148
Type
  TUTF8Encoding = class (TUTF7Encoding)
  public
    constructor Create;  Override;
    function Clone : TEncoding;  Override;
    function GetMaxByteCount(CharCount: Integer) : Integer;  Override;
    function GetMaxCharCount(ByteCount: Integer) : Integer;  Override;
    function GetPreamble : TBytes;  Override;
  end
  ;
Description
TUTF8Encoding is the encoding class used to represent the UTF-8 encoding.
Members
| Member | Type | Visibility | Description | 
|---|---|---|---|
| Clone | Method | public | Clone a TUTF8Encoding instance | 
| Create | Method | public | Create a new instance of the TUTF8Encoding class | 
| GetMaxByteCount | Method | public | Return max number of bytes needed to represent a string | 
| GetMaxCharCount | Method | public | Return max number of characters that can be represented by an array of bytes | 
| GetPreamble | Method | public | Return BOM marker bytes | 
Inheritance
| Class | Description | 
|---|---|
| TUTF8Encoding | UTF-8 Unicode encoding | 
See also
| Name | Description | 
|---|---|
| TBigendianUnicodeEncoding | Big-endian UTF-16 Unicode encoding | 
| TMBCSEncoding | Multi-Byte character set encoding | 
| TUnicodeEncoding | UTF-16 Unicode encoding | 
| TUTF7Encoding | UTF-7 Unicode encoding |