Show: Delphi C++
Display Preferences

System.SysUtils.TEncoding

From XE2 API Documentation
Jump to: navigation, search

System.TObject
TEncoding

Delphi

TEncoding = class

C++

class PASCALIMPLEMENTATION TEncoding : public System::TObject

Contents

Properties

Type Visibility Source Unit Parent
class public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils System.SysUtils

Description

System.SysUtils.TEncoding defines a specific encoding for a character or a string.

Use this class to define a specific encoding desired for a given string. For instance, the System.Classes.TStringStream class now includes an overloaded constructor that enables the developer to define encoding for strings that will be added to an instance of System.Classes.TStringStream.

To simplify cross-platform development, there are similarities between the System.SysUtils.TEncoding class and the .NET System.Text.Encoding class.

Encoding Class

ANSI

System.SysUtils.TMBCSEncoding

ASCII

System.SysUtils.TMBCSEncoding

Big-endian UTF-16, Big-endian Unicode

System.SysUtils.TBigEndianUnicodeEncoding

UTF-16, Unicode

System.SysUtils.TUnicodeEncoding

UTF-7

System.SysUtils.TUTF7Encoding

UTF-8

System.SysUtils.TUTF8Encoding

See Also

Code Examples

Personal tools
Previous Versions
Translations