title: Text view displays Arabic characters as question marks "?????"
body: <p>I'm working on an android app that displays a <code>textviews</code> with mixed Arabic and English words;</p>
  
  <p>the app displays Arabic text that I wrote inside Java classes as question marks ????? here is a <strong>screenshot:</strong></p>
  
  <p><img src="https://i.stack.imgur.com/hzUsD.png" alt="enter image description here"></p>
  
  <p><strong>The Code:</strong></p>
  
  <pre><code>if(tCat.equals("StandardT_")){
       serviceLine="Operations / خدمات عامة";
   }
  tv.setText(serviceLine);
  </code></pre>
  
  <p><strong>what I have tried:</strong></p>
  
  <ol>
  <li><p><a href="https://stackoverflow.com/questions/30055020/decoding-characters-in-android">Decoding characters in android</a> 
  and no its not the same question and the answers didn't help.</p></li>
  <li><p><a href="https://stackoverflow.com/questions/7962704/how-to-support-arabic-text-in-android/7962813#7962813">How to support Arabic text in Android?</a> 
  I'm using a new version that supports Arabic and I also tried the answer like adding <code>Farsi</code> Class or using <code>ArabicUtilities</code> classes but that didn't work ether    </p></li>
  <li><p>I also tried to encode String into utf-8</p>
  
  <p>try {
               serviceLine= URLEncoder.encode(serviceLine, "utf-8");}
          catch(UnsupportedEncodingException e){
                         e.printStackTrace();
          }</p></li>
  </ol>
  
  <p>and that didn't work!</p>
  
  <ol start="4">
  <li>also tried using multiple fonts but not a single Typeface solved the problem.</li>
  </ol>
  
  <p>So I'm kind of stuck here, any ideas?</p>
  
  <p><strong><em>Edit:</em></strong> 
  After I closed android studio and reopened the app all of the text that I wrote inside the Java classes turned to question marks! Even though I tried to write it again, once I closed the project and reopened it, it displays the Arabic text as question marks inside the Java classes before even I run the application and this is really awkward!</p>