Tag Archives: UTF-8

Gradle mit UTF-8 Byte Order Mark

Während Gradle absolut wunderbar mit UTF-8 funktioniert, gibt es hier leider eine Untiefe, die einen erwischen kann, wenn die Gradle Dateien z. B. mit dem Programm “Editor” unter Windows bearbeitet werden. C:\test>gradle build FAILURE: Build failed with an exception. Where: … Continue reading

Posted in Build, config and deploy | Tagged , , | Leave a comment

Enforcing an encoding for Eclipse in a maven project

In Maven it’s easy to set the encoding for your source code to a defined encoding (e.g. UTF-8) by inserting this part into your pom file: <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> But how to apply this to your Eclipse project?

Posted in Build, config and deploy, Eclipse Universe | Tagged , , , | Leave a comment

Solving Tomcat Encoding Problems in UTF-8 Webapps

The default configuration of Apache Tomcat 6 can cause encoding problems with URLs (links) that contain umlauts. In a Grails project we had the case that html links didn’t work. The problem was that the URL contained parameters with umlauts. … Continue reading

Posted in Groovy and Grails, Java Runtimes - VM, Appserver & Cloud, Java Web Frameworks | Tagged , , , | 5 Comments