Show: Delphi C++
Display Preferences

System.StringCodePage

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also

Personal tools
RAD Studio 10.2 Tokyo
In Other Languages
Previous Versions
Assistance