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

# TUTF7Encoding

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

UTF-7 Unicode encoding

## Declaration

Source position: sysencodingh.inc line 138

`type TUTF7Encoding = class(TMBCSEncoding)`
`public`
`constructor Create; override;` |  | Create a new instance of the TUTF7Encoding class
`function Clone; override;` |  | Clone a TUTF7Encoding 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
`end;`

## Inheritance

`TUTF7Encoding` |  | UTF-7 Unicode encoding
`TMBCSEncoding` |  | Multi-Byte character set encoding
`TEncoding` |  | Encoding support
`TObject`

## Description

TUTF7Encoding is the encoding class used to represent the UTF7 encoding. This encoding is not so often used, and the class is provided mostly for completeness.

## See also

TUnicodeEncoding |  | UTF-16 Unicode encoding
TUTF8Encoding |  | UTF-8 Unicode encoding
TMBCSEncoding |  | Multi-Byte character set encoding
TBigendianUnicodeEncoding |  | Big-endian UTF-16 Unicode encoding