title: Build project with unmappable characters in comments?
body: <p>I'm trying to build <a href="https://code.google.com/p/android-permission-explorer/" rel="nofollow">Android Permission Explorer</a> from source code. I checked out with <code>svn checkout http://android-permission-explorer.googlecode.com/svn/</code>. I added a basic <code>build.xml</code> after checkout to the project, and then dropped into a terminal:</p>
  
  <pre><code>$ /usr/local/bin/ant release
  ...
  -compile:
      [javac] Compiling 14 source files to .../android-permission-explorer/bin/classes
      [javac] .../android-permission-explorer/src/com/carlocriniti/android/permission_explorer/ApplicationDetail.java:7: error: unmappable character for encoding UTF-8
      [javac]  * Activit� d'affichage du d�tail d'une application
  ...
  </code></pre>
  
  <p>The error is <code>unmappable character for encoding UTF-8</code>.</p>
  
  <p>Here's the offending line in <code>ApplicationDetail.java</code> (which makes no sense to me since its a comment):</p>
  
  <pre><code>/*
   * Projet   : Permission Explorer
   * Auteur   : Carlo Criniti
   * Date     : 2011.06.10
   * 
   * Classe ApplicationDetail
   * ActivitÈ d'affichage du dÈtail d'une application
   * avec les permissions qu'elle utilise
   */
  </code></pre>
  
  <p>There are multiple errors like this. If <code>/usr/local/bin/ant release 2&gt;&amp;1 | grep -i error | wc -l</code> is accurate, then there's 103 of them.</p>
  
  <p><strong>Question</strong>: Why are characters in the comments affecting the build?</p>
  
  <p>I've been through ant's documentation at <a href="http://ant.apache.org/manual/using.html" rel="nofollow">Writing a Simple Buildfile</a> and <a href="http://ant.apache.org/manual/Tasks/property.html" rel="nofollow">Property Task</a>, but damn if I can figure out how to set a source file language.</p>
  
  <p><strong>Question</strong>: How do I set the source file language in <code>build.xml</code>?</p>