title: Using Arabic characters with google TTS API
body: <p>I'm using the google TTS API and I want to make a query in Arabic but keep getting errors and I have set the text file encoding set to UTF-8, here is my code</p>
  
  <pre><code>    String oLanguage = "ar";
      MediaPlayer player = new MediaPlayer();
      String mainText = "الله";
      try {           
          player.setAudioStreamType(AudioManager.STREAM_MUSIC);
          player.setDataSource("http://translate.google.com/translate_tts?tl=" + oLanguage + "&amp;q=" + mainText);
          player.prepare();
          player.start();
  
      } catch (Exception e) {
          // TODO: handle exception
      }
  </code></pre>
  
  <p>The code works fine when I use other languages but when I use Arabic I get this error</p>
  
  <pre><code>04-19 01:04:10.221: E/MediaPlayer(665): error (1, -2147483648)
  </code></pre>
  
  <p>Another thing is when I try using the arabic code directly into the link it shows up like this</p>
  
  <pre><code>player.setDataSource("http://translate.google.com/translate_tts?tl=ar&amp;q=%D8%A7%D9%84%D9%84%D9%87");
  </code></pre>