Kbase 33642: Error 9082 with XML document because 1252 is not an IANA code page
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/10/1998 |
|
Solution ID: P3642
FACT(s) (Environment):
Progress 9.1D
SYMPTOM(s):
'An exception occurred! Type:TranscodingException, Message:Could not create a converter for encoding: 1252'. (9082)
Encoding of XML document Object is '1252'
CAUSE:
Encoding=1252 used to work in previous versions of Progress on windows, whereas it does not in 9.1D.
This behavior is more consistent and is going to be documented. Indeed, 1252 is not an IANA codepage (Internet Assigned Numbers Authority), and using such a codepage can cause the SAVE operation to fail, or if the document is written, can cause the document to be un-readable by some applications.
FIX:
windows-1252 is a IANA codepage, so encoding=windows-1252 should be used instead.
The list of valid IANA names can be seen at: http://www.iana.org/assignments/character-sets