ChrGetCodePage

Gets the current code page.

Syntax:

ChrGetCodePage( request )

Parameters:

(i) request: specifies the code page to be returned. See below.

Returns:

(i) code page: Returns the requested code page.

 

Request

Meaning

0

WIL code page being used for Unicode conversions

1

ANSI code page associated with the default system locale

2

ANSI code page associated with the default user locale

 
Example:


wilcodepg = ChrGetCodepage( 0 )
Message("WIL code page being used for Unicode conversions", wilcodepg )
See Also:

ChrSetCodePage, IsNumber, Num2Char