Consultor Eletrônico



Kbase P97155: SAX-PARSE method outputs characters different in OpenEdge
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   03/02/2010
Status: Unverified

SYMPTOM(s):

SAX-PARSE method outputs characters different in OpenEdge

Sax parser outputs characters in UTF-8 not in cpinternal or cpstream

There is a difference in behavior between 9.1 and 10.0 in the code page that characters are output in the SAX parser 'Characters' callback procedure. In 9.1x writing characters with PUT and NO-CONVERT results in UTF-8 characters. In OpenEdge 10 the characters are output in cpstream.

FACT(s) (Environment):

Progress 9.1D
OpenEdge 10.x

CAUSE:

The reason for this problem is because the 9.1D SAX parser does not convert the characters from UTF-8 to cpinternal after they have been parsed. This is related to Bug# 20040119-029 which corrects this behavior in OpenEdge.

FIX:

Upgrade to OpenEdge 10.0B or apply service pack 10.0A01 to 10.0A.