Details
Description
When I set sourceEncoding to UTF-8 this setting is ignored and groovy script is still compiled probably using platform default encoding.
I can see that sourceEncoding is properly set to UTF-8 in debug log :
[DEBUG]Configuring mojo 'org.codehaus.groovy.maven:gmaven-plugin:1.0-rc-5-kohsuke-1:compile' -->
...
[DEBUG] (f) sourceEncoding = UTF-8
...
[DEBUG]-- end configuration –
Strings that originaly contained multi-byte UTF-8 characters are damaged in compiled class file.
Issue Links
- is duplicated by
-
GMAVEN-65
Impossible to set any compiler configuration (sourceEncoding etc.)
-
Got the same problem!
Hey guys, this issue is extremely important for the Asian and the European markets! We here in Germany have umlaut characters like "äöüÄÖÜß" - they are part of our language! We need to compile them correctly in Groovy! The Asian people have many many more special characters so that they also need UTF-8. Please, please, make this work!