title: Special characters with the VoiceRSS text-to-speech API
body: <p>I'm trying to make the VoiceRSS API working with french special characters and I don't manage to do it.</p>
  
  <p>Here is my PHP code :</p>
  
  <pre><code>&lt;?php
  
      $text = htmlentities("fédéré"); // "fédéré" means "federated"
      $filename = "test.mp3";
  
      $querystring = (http_build_query(array(
      "src" =&gt; $text,
      "key" =&gt; "e913cc4ffc2148f18ddfdcda118b7391",
      "hl" =&gt; "fr-fr",
      "r" =&gt; "0",
      "c" =&gt; "mp3",
      "f" =&gt; "22khz_16bit_mono"
      )));
  
      $url = "http://api.voicerss.org?".$querystring;
      $soundfile = file_get_contents($url);
      file_put_contents($filename,$soundfile);
  
      echo 'API = &lt;a href="http://api.voicerss.org?'.$querystring.'" target="_blank"&gt;http://api.voicerss.org?'.$querystring.'&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;';
      echo 'MP3 file generated = &lt;a href="./'.$filename.'" target="_blank"&gt;'.$filename.'&lt;/a&gt;';
  
  ?&gt;
  </code></pre>
  
  <p>As it is, the word "fédéré" becomes :</p>
  
  <p><code>f%26Atilde%3B%26copy%3Bd%26Atilde%3B%26copy%3Br%26Atilde%3B%26copy%3B</code></p>
  
  <p>How could I resolve this in the URL and also in the sound of the MP3 file generated ?</p>