ChrSetCodePage

Sets the current WIL code page.

Syntax:

ChrSetCodePage( code-page )

Parameters:

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

Returns:

(i) code-page: returns previous WIL code page.

 

"code-page" specifies a valid available code page, or one of the following system default code pages:

 

Value

Meaning

0

ANSI code page

1

OEM code page

2

Macintosh code page

3

The current thread's ANSI code page

42

Symbol code page

65000

Translate using UTF-7

65001

Translate using UTF-8

 

Example:


ChrSetCodepage( 0 )
See Also:

ChrGetCodePage, IsNumber, Num2Char