Try OpenEdge Now
skip to main content
Startup Command and Parameter Reference
Startup Parameter Descriptions : R-code in Code Page (-cprcodein)
 

R-code in Code Page (-cprcodein)

Use R-code in Code Page (-cprcodein) to read the r-code text segments, as if they were written in the code page specified by -cprcodein, and convert them to the InternalCode Page (-cpinternal) code page. Usually when OpenEdge reads r-code, it converts text segments to the code page specified by InternalCode Page (-cpinternal).
Operating system and syntax
UNIX / Windows
-cprcodein code-page
Use with
Maximum value
Minimum value
Single-user default
Multi-user default
Client Session, Database Server, DataServer
-cpinternal
-cpinternal
code-page
Name of the code page for reading r-code text segments.
Caution: This parameter is for use during very rare situations and in general should not be used. OpenEdge reads text segments as if they are written in the code page specified by R-code In Code Page (-cprcodein), even if the text segments were written with a different code page. For example, if you use the following startup parameters and run a .r file written with code page IBM850, OpenEdge converts the text segments from ISO8859-1 to ibm861. This can produce incorrect results, if the .r file was correctly labeled internally as IBM850: -cprcodein ISO8859-1 -cpinternal ibm861
To retrieve the value of this startup parameter at runtime, use the SESSION system handle. To determine the code page of an r-code file, use the RCODE-INFO handle.