System.SysUtils.TEncoding.Default

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class property Default: TEncoding read GetDefault;

C++

/* static */ __property TEncoding* Default = {read=GetDefault};

Properties

Type Visibility Source Unit Parent
property public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils TEncoding

Description

On Windows, System.SysUtils.TEncoding.Default returns the default ANSI code page; on Mac OS, it returns UTF-8.

The return value of System.SysUtils.TEncoding.Default depends on the platform:

Platform Default encoding Instance

Windows

ANSI

System.SysUtils.TMBCSEncoding

OS X

UTF-8

System.SysUtils.TUTF8Encoding

See Also

Code Examples