title: Decode Torrent Hash of Torrent tracker scrape?
body: <p>I am using <a href="http://proger.i-forge.net/BEncoded_%E2%80%93_handling_torrent_files_in_PHP/7Tn">BEncoded PHP Library</a> to decode the bencoded response from a Bittorrent tracker.</p>
  
  <p>The response of Tracker is:</p>
  
  <pre><code>d5:filesd20:¼€™rÄ2ÞÊþVA  .]á^¦d8:completei285e10:downloadedi22911e10:incompletei9eeee
  </code></pre>
  
  <p>after decoding it using the below code:</p>
  
  <pre><code>require 'bencoded.php';
  
  $be = new BEncoded;
  //Response saved in scrape.txt
  $data =file_get_contents('scrape.txt');
  print_r($be-&gt;Decode($data));
  </code></pre>
  
  <p>the output is:</p>
  
  <pre><code>Array ( [files] =&gt; Array ( [¼€™rÄ2ÞÊþVA  .]á^¦] =&gt; Array ( [complete] =&gt; 285 [downloaded] =&gt; 22911 [incomplete] =&gt; 9 [isDct] =&gt; 1 ) [isDct] =&gt; 1 ) [isDct] =&gt; 1 )
  </code></pre>
  
  <p><strong>My Problem</strong>
  my problem in the above output is how to decode those mysterious letters in output.</p>