title: Android studio : error: unmappable character for encoding UTF-8
body: <p>first, my project is building and working correctly from android studio under macOS natively (not a VM). 
  My problem is on a windows machine (still not a VM) where everything build correctly but still I have some encoding errors.(12 errors)</p>
  
  <p><code>error: unmappable character for encoding UTF-8</code><br>
  <code>error: illegal character: '\ufffd'</code></p>
  
  <p>So I try this : 
  <a href="https://stackoverflow.com/questions/23677855/android-studio-unmappable-character-for-encoding-utf-8">Android Studio : unmappable character for encoding UTF-8</a> </p>
  
  <p>Now I only have 4 errors which are like this one:<br>
  <code>error: illegal character: '\ufffd'</code><br>
  <code>public static final int XXXX_view_account_account_js_cities_gen�ve = 0x7f0a0953;</code></p>
  
  <p>I tried :<br>
  1. <a href="https://stackoverflow.com/questions/34578142/android-studioerror-illegal-character-u2028">Android Studio:error: illegal character: &#39;\u2028&#39;</a> => Try to delete and rewrite it<br>
  2. I tried also ISO-8859-1 encoding</p>
  
  <p>Here is my gradle build and settings build :   </p>
  
  <pre><code> android {  
       compileSdkVersion 25   
       buildToolsVersion "25.0.2"   
       compileOptions.encoding = 'windows-1251'
  </code></pre>
  
  <p>and
  <a href="https://i.stack.imgur.com/dhhgJ.png" rel="nofollow noreferrer">SETTINGS IMG</a></p>