Try OpenEdge Now
skip to main content
Database Administration
Reference : Database Startup Parameters : Alphabetical listing of database startup parameters : R-code in Code Page (-cprcodein)
R-code in Code Page (-cprcodein)
Operating system and syntax
UNIX / Windows
-cprcodein codepage
Use with
Maximum value
Minimum value
Single-user default
Multi-user default
The name of the code page for reading r-code text segments.
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 Internal Code Page (-cpinternal) code page.
Caution: This parameter is for use during very rare situations and, in general, should not be used.
The OpenEdge RDBMS reads text segments as if they are written in the code page specified by -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, the text segments are converted 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 run time, use the SESSION System handle. To determine the code page of an r-code file, use the RCODE-INFO handle.