I have a .java file that contains UTF-8 characters. So I told eclipse to use UTF-8 encoding for its .java files. When trying to build it via Jenkins it fails however with
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
.../... unmappable character for encoding ASCII
When browsing to my svn repository I notice that the special characters are encoded using weird signs. Is there a way to get those characters into my repository correctly? Do I have to tell my svn repository to use UTF-8 somehow. Or my subclipse plugin..?
Edit
Updated my question to help others locate the problem.
Set svn:mime-type to text/plain;charset=UTF-8 , eclipse team> set property > change value > commit
set file content encoding to utf-8 as you did
in pom.xml on compilation plugin set Encoding to utf-8:
http://maven.apache.org/general.html#encoding-warning