Progress
Startup Command and Parameter
Reference


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 
CS, DBS, DS, OID
-cpinternal
-cpinternal

codepage

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. Usually when Progress reads r-code, it converts text segments to the code page specified by Internal Code Page (-cpinternal).

CAUTION: This parameter is for use during very rare situations and in general should not be used. Progress 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, Progress 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.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095