System.SysUtils.TEncoding.CodePage

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property CodePage: Cardinal read GetCodePage;

C++

__property unsigned CodePage = {read=GetCodePage, nodefault};

Properties

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

Description

Contains the encoding's codepage.

By default CodePage will return $FFFFFFFF (-1) which indicates that a codepage is not supported/available/applicable. Descendants can override CodePage's access function GetCodePage to return the actual codepage if applicable.

See Also