[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Multi-Byte character set encoding.
Source position: sysencodingh.inc line 118
type TMBCSEncoding = class(TEncoding) |
||
public |
||
constructor Create(); |
|
Create a new instance of a multi-byte character set encoding. |
function Clone; override; |
|
Clone a TMBCSEncoding instance. |
function GetMaxByteCount(); override; |
|
Return max number of bytes needed to represent a string. |
function GetMaxCharCount(); override; |
|
Return max number of characters that can be represented by an array of bytes. |
function GetPreamble; override; |
|
Return BOM marker bytes. |
end; |
|
Multi-Byte character set encoding. |
|
| | ||
|
Encoding support. |
|
| | ||
TObject |
|
Base class of all classes. |
TMBCSEncoding is the encoding class used for most of the encodings, except the actual Unicode encodings. The codepage is specified during creation, and is by default the system codepage.
The name is somewhat misleading, since the MBCS is also used for single-byte encodings.
|
UTF-16 Unicode encoding. |
|
|
UTF-8 Unicode encoding. |
|
|
UTF-7 Unicode encoding. |
|
|
Big-endian UTF-16 Unicode encoding. |