Consultor Eletrônico



Kbase P16116: Russian characters are being replaced with ?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   30/12/2003
Status: Unverified

FACT(s) (Environment):

WebSpeed 3.1D

FACT(s) (Environment):

Progress 3.1D

SYMPTOM(s):

Russian characters are being replaced with ?

WebSpeed broker is properly configured to handle WebSpeed dynamic code page support

Database is properly configured to UTF-8

CAUSE:

This is a known issue - there is a problem doing an {&OUT} with a field exceeding 450 bytes in UTF-8.

FIX:

Don't access/address the field in one go, access or process the field in more loops:


replace this line:
{&OUT} "Comment changed to: " customer.comment skip.

with:
len = length(comment).
{&OUT} Comment changed to: " customer.comment skip.
do while i <= len:
{&OUT} substring(customer.comment, i, 100) .
i = i + 100.
end.
{&OUT} skip.