It works fine in my box (ubuntu 12.04) under GGTS using "Run as..." either Groovy Console or Groovy Script. You may want to check configuration in your ggts.
Windows by default runs on cp1252 encoding (we had some troubles with source on wrong encoding in some projects this year). Linux by default is utf-8. I'm not sure about OS X