Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : CODEPAGE attribute

CODEPAGE attribute

The code page of specified r-code.
Data type: CHARACTER
Access: Read-only
Applies to: RCODE-INFO handle
This attribute references the code page of the strings in the text segment. The code page value is written to the r-code file when the file is saved. ABL uses the code page specified by the R-code Out Code Page (-cprcodeout) startup parameter to write the r-code text segment. If -cprcodeout is not specified, ABL uses the value of the Internal Code Page (CPINTERNAL) SESSION handle.
For a file that is session compiled, the return value is the Unknown value (?).