|Summary:||tomcat-users.xml has invalid encoding "cp1252" when using endorsed library xercesImpl.jar|
|Product:||Tomcat 6||Reporter:||Stuart <apache>|
|Component:||Catalina||Assignee:||Tomcat Developers Mailing List <dev>|
Description Stuart 2009-03-24 22:41:53 UTC
Comment 1 Mark Thomas 2009-03-25 10:03:56 UTC
The change to cp1252 is as a result of bug 45332. When you use xerces via the endorsed mechanism, the feature http://apache.org/xml/features/allow-java-encodings is false so cp1252 isn't recognised. I'll look at using the IANA names.
Comment 2 Mark Thomas 2009-03-25 10:55:47 UTC
A fix has been made in trunk and proposed for 6.0.x. I took a different approach (which will only work with xerces) that tries to configure the xml parser to support the java encoding names.
Comment 3 Mark Thomas 2009-05-22 08:00:07 UTC
This has been fixed in 6.0.x and will be included in 6.0.21 onwards.