xerces-j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ilker Yümsek (JIRA) <xerces-j-...@xml.apache.org>
Subject [jira] Created: (XERCESJ-1288) Problems with encoding name Cp1141
Date Fri, 25 Jan 2008 15:41:35 GMT
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


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":

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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org

View raw message