You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2003/07/18 19:16:14 UTC
DO NOT REPLY [Bug 21700] -
org.apache.xml.serialze.Encodings.getEncodingInfo() fails to lookup UnicodeLittle
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21700>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21700
org.apache.xml.serialze.Encodings.getEncodingInfo() fails to lookup UnicodeLittle
------- Additional Comments From mrglavas@apache.org 2003-07-18 17:16 -------
All the keys in the IANA2Java map are already upper case. UnicodeLittle is the
Java encoding name for UTF-16LE. Unless you've explicitly set that Java
encoding names should be recognized, the serializer will only accept registered
IANA encoding names and their aliases.
That said, if you enable Java encoding names you'll encounter a bug for all
keys not capitalized in the Java2IANA map. At the moment I'm not sure whether
the canonical names of Java encodings (see
http://java.sun.com/j2se/1.3/docs/guide/intl/encoding.doc.html for instance)
are case insensitive, so capitalizing the names in the encoding map might not
be the correct approach.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org