https://issues.apache.org/bugzilla/show_bug.cgi?id=49418
Summary: Add support for non-ASCII encoding to <junitreport> task Product: Ant Version: unspecified Platform: PC OS/Version: Linux Status: NEW Keywords: PatchAvailable, XSLTBug Severity: normal Priority: P2 Component: Optional Tasks AssignedTo: notifications@ant.apache.org ReportedBy: matsuba...@gmail.com The current implementation of <junitreport> has no support for JUnit testcases with non-ASCII strings in their assertion targets or system outputs. When non-ASCII strings are used, the rendered summary will have inappropriate encoding specification and can be unreadable. This (possible) bug is caused by the fact that the current implementation of <junitreport> always specifies the encoding of the generated summary as "US-ASCII". This is hard-coded in the stylesheets, src/etc/junit-frames.xsl and src/etc/junit-noframes.xsl. Attached patch adds an optional attribute named 'encoding' to <junitreport> task. The default value for this attribute is set to "US-ASCII" so that we can keep the current behaiviour if we don't use this option. This patch is for Ant rev. 952676 (https://svn.apache.org/repos/asf/ant/core/tr...@952676) -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.