Kbase P114112: Thai characters are not aligned correctly with UTF-8 r-code
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  09/03/2006 |
|
Status: Unverified
FACT(s) (Environment):
Progress 9.1x
SYMPTOM(s):
Thai characters are not aligned correctly with UTF-8 r-code
UTF-8 r-code in Progress version 9 does not display Thai characters correctly.
R-code has been created using the UTF-8 code page
When running the application the Thai text is truncated even though there is enough room for the text to display.
CAUSE:
The problem is that although the r-code is UTF-8, in version 9 there isn't a UTF-8 client to run the code. Subsequently the client executable does not know where multi byte characters start and end in the text segment. This leads to unreliable results at run time.
The reason for using UTF-8 r-code is to try to avoid having a separate version of the r-code for each deployment locale. However in version 9 because there isn't a UTF-8 client executable UTF-8 text segments cannot be utilized.
FIX:
The only real solution to this in Progress version 9 is to maintain a separate piece of r-code for each deployment locale.
Alternatively upgrade to OpenEdge 10 where the UTF-8 client can be employed with -ulayout to resolve such problems.