Consultor Eletrônico



Kbase P114304: I18N: Running specific r-code generates errors 6063 and 4706
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   3/15/2006
Status: Unverified

SYMPTOM(s):

Attempting to run code against a UTF-8 database

Errors 6063 and 4706 are generated when r-code is run

Code page conversion table for <table-name> to <table-name> was not found in <file-name>. (6063)

Code page conversion table for ISO8859-1 to GB2312 was not found in convmap.cp. (6063)

Could not find conversion table for r-code. (4706)

Client startup parameters -cpinternal and -cpstream are set to GB2312

Database is converted to UTF-8

Database is started with -cpinternal UTF-8 -cpstream UTF-8

Running code with client startup parameters -cpinternal and -cpstream set to ISO8859-1 succeeds

RCODE-INFO:CODEPAGE returns ISO8859-1 when checking the r-code

Recompiling the code with -cpinternal GB2312 results in the code working when the client startup parameters are set to GB2312

Code fails to run when the client startup parameters are set to ISO8859-1 after recompiling the code with -cpinternal GB2312

Code page conversion table for GB2312 to ISO8859-1 was not found in convmap.cp. (6063)

CAUSE:

The r-code has been compiled using ISO8859-1 codepage and this information is stored and used within the r-code. There is no conversion table between ISO8859-1 and GB2312.

FIX:

Recompile the source files using the setting -cpinternal undefined. This will allow the r-code to run with either set of parameters.