Kbase P97856: Error 9082 when saving an XML document.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  24/11/2004 |
|
Status: Unverified
FACT(s) (Environment):
Progress 9.1x
Windows XP
SYMPTOM(s):
Error 9082 when saving an XML document.
XML document contains the Euro sign (0x80).
Saving an XML document using the windows-1252 encoding.
X-NODEREF or X-DOCUMENT SAVE got an error: XML Parser Exception: Unicode char 0x80 is not representable in encoding WINDOWS-1252. (9082)
Progress session is using -cpinternal and -cpstream ISO8859-15 (Latin-9).
CAUSE:
The Windows XP OS is using the 1252 (Latin-1) code page by default, not ISO8859-15 (Latin-9). The euro sign is at position 0x80 in the 1252 code page and at position 0xA4 in the ISO8859-15 code page. For the Euro sign to display correctly in the Windows XP OS, you need to use ALT-128 (0x80) and not ALT-164 (0xA4). So when saving the XML document in an ISO8859-15 session, Progress will try to export character 0x80 from code page ISO8859-15 which does not exist.
FIX:
For the GUI client, -cpinternal must match the Windows code page. Thus for Windows, only the 12xx code pages (for single-byte code pages) are valid.