ISO-8859-1 encoding not working correctly. ------------------------------------------
Key: JAXME-54 URL: http://issues.apache.org/jira/browse/JAXME-54 Project: JaxMe Type: Bug Components: JaxMe Core Versions: current (nightly) Environment: Win2k, Sun JDK 1.4.2 Reporter: Alex Priority: Minor When specifying an XML encoding as follows: marshaller.setProperty(Marshaller.JAXB_ENCODING, "ISO-8859-1"); I get an UnsupportedEncodingException because OutputStreamWriter uses the string "8859_1" to represent this encoding. But when I use it like this: marshaller.setProperty(Marshaller.JAXB_ENCODING, "8859_1"); I get this in the XML: <?xml version='1.0' encoding='8859_1'?> but it should be: <?xml version='1.0' encoding='ISO-8859-1'?> otherwise the XML parser will not know what encoding it is. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]