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=8142>. 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=8142 MS_Kanji to SJIS conversion problem Summary: MS_Kanji to SJIS conversion problem Product: Xerces-J Version: 1.4.4 Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: SAX AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] On org.apache.xerces.readers.MIME2Java, there is this one line: s_enchash.put("MS_Kanji", "SJIS"); But, that s_enchash hashtable is used in convert method in the following manner: return (String)s_enchash.get(mimeCharsetName.toUpperCase()); Because all mimeCharsetName is set to upper case (thus, converting "MS_Kanji" to "MS_KANJI"), then if the XML is having charset="MS_Kanji", an UnsupportedCharacterEncoding would be thrown. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
