Show: Delphi
C++
Display Preferences
System.StringCodePage
From XE2 API Documentation
Delphi
function StringCodePage(const S: UnicodeString): Word; overload; function StringCodePage(const S: RawByteString): Word; overload;
C++
extern 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.