Kbase P97340: accentuated characters wrong displayed with character client
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  12/20/2004 |
|
Status: Unverified
FACT(s) (Environment):
Progress 9.x
SYMPTOM(s):
accentuated characters wrong displayed with character client
Startup parameters: -cpinternal IBM850 -cpstream ibm850
sample : Frédéric ==> Frµdµric
winchar client
The ASCII value of "é" within the rcode is 233 but CHR(130) displays "é".
CAUSE:
There is no codepage conversion taking place as long as -cpinternal , -cpstream, -cprcodein and the codepage of the database are the same.
FIX:
For the database access using ISO8859-1 as database code page and -cpstream IBM850 works fine.
For the rcode (.r) use -cprcodein <codepage of rcode> .
With the file sample.dat from DLC\prolang\convmap exist a template to use for building you own
codepage conversion table.
For example to display the character é replace there the position of 233 with 130, the position of 130 with 140 and the position of
140 with 233 within the copy of sample.dat. Than give the conversion a reasonable name; include it into your own copy of convmap.dat and use the codepage compiler of proutil to create your own new convmap.