On 22/11/2012, at 9:13 PM, Rene Groeschke wrote: > Hi Devs, > > we got multiple reports in our forum about encoding problems when running > gradle 1.3. > (http://forums.gradle.org/gradle/topics/gradle_1_3_wrapper_java_io_unsupportedencodingexception) > I've raised http://issues.gradle.org//browse/GRADLE-2564 for this problem > already. Having a look on the stacktraces, it seems that native-platform has > problems with some encodings. I cant reproduce this on my machine and I'm not > aware of a workaround for this. If there is no workaround available, this is > definitely a blocker for some of our users.
Some workarounds: * Tweak your LANG environment variable to include an encoding: e.g. change en_AU to en_AU.UTF-8 * Run Gradle with GRADLE_OPTS=-Dorg.gradle.native=false to disable the new native stuff (but don't forget to remove it after you upgrade to Gradle 1.4). The switch has to be in GRADLE_OPTS, it won't work if you run gradle -Dorg.gradle.native=false or add it to your gradle.properties. * Wait for a Gradle snapshot with a fix in the near future. -- Adam Murdoch Gradle Co-founder http://www.gradle.org VP of Engineering, Gradleware Inc. - Gradle Training, Support, Consulting http://www.gradleware.com
