Skip to content

TMBCSEncoding.Create

Create a new instance of a multi-byte character set encoding.

Declaration

Source position: sysencodingh.inc line 141

public 
constructor Create;  virtual;  overload; overload;

constructor Create(ACodePage: Integer);  virtual;  overload; overload;

constructor Create(ACodePage: Integer; MBToWCharFlags: Integer; 
                  WCharToMBFlags: Integer);  virtual;  overload; overload;

Description

Create instantiates a new instance of the multi-byte character set encoding. The ACodePage parameter is optional, and defaults to DefaultSystemCodePage.

The MBToWCharFlags and WCharToMBFlags parameters are stored but are otherwise unused in the Free Pascal implementation of TMBCSEncoding