NLSGetEnvironmentCodepage (W*32, W*64)

NLS Function: Returns the codepage number for the system (Window) codepage or the console codepage.

Module: USE IFNLS

Syntax

result = NLSGetEnvironmentCodepage (flags)

flags
(Input) INTEGER(4). Tells the function which codepage number to return. Available values (defined in IFNLS.F90) are:


Results

The result type is INTEGER(4). The result is zero if successful; otherwise, it returns one of the following error codes:

Compatibility

CONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB

See Also

NLSSetEnvironmentCodepage, Building Applications: Locale Setting and Inquiry Routines