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