title: Error: unmappable character for encoding UTF8 during maven compilation
body: <p>I am compiling a package using maven and it says build failure with following compilation error:</p>
  
  <p>SpanishTest.java[31, 81] unmappable character for encoding UTF8</p>
  
  <p>I searched online and for many people, changing source encoding from UTF-8 to ISO-8859-1 seems to work but I am still getting same compilation error. I am using 32-bit Ubuntu. Here is how that tag looks in my pom.xml</p>
  
  <pre><code>&lt;project.build.sourceEncoding&gt;ISO-8859-1&lt;/project.build.sourceEncoding&gt;
  </code></pre>
  
  <p>Even if I change <code>&lt;project.build.outputEncoding&gt;</code> tag to ISO-8859-1, I still get the error.Could it be because of java version? I have both-sun java and openjdk installed on my system.</p>
  
  <p>Can anyone please let me know what to do.</p>
  
  <p>Thanks  </p>