Problems with encoding name Cp1141
----------------------------------
Key: XERCESJ-1288
URL: https://issues.apache.org/jira/browse/XERCESJ-1288
Project: Xerces2-J
Issue Type: Bug
Affects Versions: 2.9.1
Reporter: Ilker Yümsek
Hello,
We develope an xml-based framework for desktop and web applications.
This framework parses XML-Data with encoding Cp1141.
If the application, that use our framework, runs in a SUN JRE, all works fine.
If the runtime environment is an IBM JRE, we become following exception from
Xerces: "Invalid encoding name: Cp1141".
org.apache.xerces.util.EncodingMap maps this (and other) encoding(s) in two
differently ways:
By IANA to Java mapping with low "p": Cp1141
By Java to IANA mapping in upper case: CP1141
And in the official document from SUN are such encoding names defined as
"CpXXXX":
http://java.sun.com/j2se/1.3/docs/guide/intl/encoding.doc.html
Please unify the mapping of such encodings.
Thank you
Ilker Yümsek
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]