RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.StringCodePage Function

Returns the code page associated with the string.

Pascal
function StringCodePage(const S: UnicodeString): Word; overload;
function StringCodePage(const S: RawByteString): Word; overload;
C++
Word StringCodePage(const UnicodeString S);
Word StringCodePage(const RawByteString S);

Call StringCodePage to obtain the code page of the string. Each string in RAD Studio is associated to a code page. The runtime library uses this information to safely convert and manipulate international character sets. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!