Kbase P104404: XML file sent to the WebSpeed agent using POST request displays ? instead of the accented characters
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/5/2007 |
|
Status: Unverified
FACT(s) (Environment):
Progress 9.x
OpenEdge 10.x
WebSpeed 3.x
All Supported Operating Systems
SYMPTOM(s):
XML file sent to the WebSpeed agent using POST request displays ? instead of the accented characters after parsing
XML file not properly loaded after being read by the WebSpeed agent, or other 4GL client session
Wrong characters in the XML file instead of the accented letters
Header in the XML file reads:
<?xml version='1.0' standalone='yes' ?>
XML file contains one tag where it has accented characters
<OrderDescription>Here are special characters. öäüß´</OrderDescription>
CAUSE:
The content of the XML file is in the ISO-8859-1 code page whereas the XML parser by standard expects data in the UTF-8 if there is no 'encoding' present in the XML header.
FIX:
The header in the XML file needs to be modified to be:
<?xml version='1.0' encoding='iso-8859-1' standalone='yes' ?>
in order for the parser to work correctly.