R-code in Code Page (-cprcodein)
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
R-code in Code Page (-cprcodein)
| Operating system and syntax | UNIX / Windows |
|
||
|---|---|---|---|---|
| Use with | Maximum value | Minimum value | Single-user default | Multi-user default |
| CS, DBS, DS | – | – | -cpinternal | -cpinternal |
- codepage
- 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.
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:
|
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.