Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.5 (2.1 plugin)
-
None
-
None
-
Windows XP, Danish locale, Cp1252 encoding
Description
XMLReporter.java writes the outputted xml-file in the platform default encoding, but writes an encoding of UTF-8 in the XML header.
On my machine, with a platform default encoding of Cp1252, this causes the surefire report plugin to fail with a "org.xml.sax.SAXParseException: Invalid byte 2 of 3-byte UTF-8 sequence".
The attached patch ensures, that the outputted XML-file is always written in UTF-8 encoding, so that it matches the header in the file.
Attachments
Attachments
Issue Links
- relates to
-
SUREFIRE-147 Surefire plugin is failing
- Closed