I have a unit test that is using xmlslurper to analyse some html. When I run
this in my IDE it is fine, but in gradle strange characters arise.

The code is something like:

GPathResult root = new XmlSlurper(parser).parseText(stockSummaryText)
        def summary = root.depthFirst().find {
            it.@'class'.toString() == 'summary'
        }

def securityName = summary.H2.toString()
println securityName


in the IDE it prints

RIM-T | TSX | Communications & Media

when run in gradle it prints:

RIM-Tá|áTSXá|áCommunications & Media


Anyone have an idea where these would be coming from?


Thanks,
-Kal

Reply via email to