System.SysUtils.TEncoding.Default
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 |
|
OS X |
UTF-8 |