Recent Entries:

Favorite Links

Maven and the encoding of Java files

Friday, October 3rd, 2008

I was mavenizing a java project (I was using ant earlier) on my macbook and I realized that since I was using UTF-8 on my macbook the files were compiled using UTF-8 instead of ISO-8859-1 (some strings where corrupted).

The solution is to add the encoding parameter to the maven-compiler-plugin

Tags: , , | Posted in General

One Response to “Maven and the encoding of Java files”

  1. melange Says:

    That was helpful, thanks!

Leave a Reply