[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'sysutils' (#rtl)

TMBCSEncoding

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Multi-Byte character set encoding

Declaration

Source position: sysencodingh.inc line 102

type TMBCSEncoding = class(TEncoding) end;

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

Inheritance

TMBCSEncoding

  

Multi-Byte character set encoding

|

TEncoding

  

Encoding support

|

TObject

Description

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.

See also

TUnicodeEncoding

  

UTF-16 unicode encoding

TUTF8Encoding

  

UTF-8 unicode encoding

TUTF7Encoding

  

UTF-7 unicode encoding

TBigendianUnicodeEncoding

  

Big-endian UTF-16 unicode encoding


Documentation generated on: Mar 17 2017