Compiling the code below with groovyc results in the following error message:
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
Ö_ClassWithUlmaut.groovy: 2: Unexpected input: '(' @ line 2, column 41.
The file is encoded in Windows-1252 and I'm compiling it with the following command:
\Tools\groovy-3.0.5\bin\groovyc --encoding Windows-1252 Ö_ClassWithUlmaut.groovy
Compiling with version 2.5.8 works fine
The problem only seem to occur when the class name starts with a unicode character i.e. the problem doesn't occur if the class name has an unicode in it as long as it isn't the first character