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

TUTF8Encoding

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

UTF-8 Unicode encoding

Declaration

Source position: sysencodingh.inc line 148

type TUTF8Encoding = class(TUTF7Encoding)

public

  constructor Create; override;

  

Create a new instance of the TUTF8Encoding class

  function Clone; override;

  

Clone a TUTF8Encoding 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;

Inheritance

TUTF8Encoding

  

UTF-8 Unicode encoding

|

TUTF7Encoding

  

UTF-7 Unicode encoding

|

TMBCSEncoding

  

Multi-Byte character set encoding

|

TEncoding

  

Encoding support

|

TObject

Description

TUTF8Encoding is the encoding class used to represent the UTF-8 encoding.

See also

TUnicodeEncoding

  

UTF-16 Unicode encoding

TUTF7Encoding

  

UTF-7 Unicode encoding

TMBCSEncoding

  

Multi-Byte character set encoding

TBigendianUnicodeEncoding

  

Big-endian UTF-16 Unicode encoding


Documentation generated on: Jun 23 2021