System.SysUtils.TEncoding.ANSI
Delphi
class property ANSI: TEncoding read GetANSI;
C++
/* static */ __property TEncoding* ANSI = {read=GetANSI};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | TEncoding |
Description
On Windows, it returns the default ANSI code page; on Mac OS, it returns the Windows equivalent based on your country settings.
System.SysUtils.TEncoding.ANSI returns an instance of type System.SysUtils.TMBCSEncoding that depends on the platform:
Platform |
Description |
---|---|
Windows |
The default ANSI code page. |
Mac OS |
The Windows equivalent code page based on your country settings in OS X System Preferences. (See CFLocaleGetIdentifier). |