System.StringCodePage
Delphi
function StringCodePage(const S: UnicodeString): Word; overload;
function StringCodePage(const S: _RawByteStr): Word; overload;
C++
extern DELPHI_PACKAGE Word __fastcall StringCodePage(const UnicodeString S)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.pas System.hpp |
System | System |
Description
Returns the code page associated with the string.
Call StringCodePage to obtain the code page of the string. Each string in RAD Studio is associated with a code page. The runtime library uses this information to safely convert and manipulate international character sets.