[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Multi-Byte character set encoding
Source position: sysencodingh.inc line 102
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 |
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 |