Sign in Join
FPDoc Onlineexperiment

TUTF8Encoding class

In unit sysutils

UTF-8 Unicode encoding.

Declaration

pascal
TUTF8Encoding = class(TUTF7Encoding)

Inheritance

  1. TUTF8Encoding
  2. TUTF7Encoding
  3. TMBCSEncoding
  4. TEncoding

Description

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

See also

Methods

GetByteCountstrict prote
GetBytesstrict prote
GetCharCountstrict prote
GetCharsstrict prote
CreatepublicCreate a new instance of the TUTF8Encoding class.
ClonepublicClone a TUTF8Encoding instance.
GetMaxByteCountpublicReturn max number of bytes needed to represent a string.
GetMaxCharCountpublicReturn max number of characters that can be represented by an array of bytes.
GetPreamblepublicReturn BOM marker bytes.

Inherited

From TEncoding (16)

ANSI ASCII BigEndianUnicode CodePage Convert Default EncodingName GetBufferEncoding GetEncoding GetString IsSingleByte IsStandardEncoding SystemEncoding Unicode UTF7 UTF8

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.