Kallin Nagelberg wrote:
> 
> Standard junit test in standard grails groovy project:
> 
> @Test public void pipeTest(){
>         println 'RIM-T | TSX | Communications & Media'
> }
> 
> Output:
> RIM-TÂ |Â TSXÂ |Â Communications & Media
> 

This indicates that groovyc has a wrong understanding of which encoding is
used for your source files. One solution is to explicitly configure groovyc
to use the correct encoding. In the case of Gradle, you'd do something like:

tasks.withType(GroovyCompile).all.options.encoding = "UTF-8"

--
Peter Niederwieser
Principal Engineer, Gradleware 
http://gradleware.com
Creator, Spock Framework 
http://spockframework.org
Blog: http://pniederw.wordpress.com
Twitter: @pniederw



--
View this message in context: 
http://gradle.1045684.n5.nabble.com/bizarre-characters-when-running-test-in-gradle-tp4470267p4471427.html
Sent from the gradle-user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to