title: How to display the (extended) ASCII representation of a special character in PHP 5.6?
body: <p>I am trying to decode this special character: "ß", if I use "ord()", I get "C3"</p>
  
  <pre><code>echo "ord hex--&gt; "  . dechex(ord('ß'));
  </code></pre>
  
  <p>...but that doesn't look good; so i tried "bin2hex()", now I get "C39F" (what?).</p>
  
  <pre><code>echo "bin2hex --&gt; " . bin2hex('ß');
  </code></pre>
  
  <p>By using an Extended ASCII Table from the Internet, i know that the correct hexadecimal value is "DF", so i now tried "hex2bin()", but that give me some unknown character like this: "�".</p>
  
  <pre><code>echo "hex2bin --&gt; " . hex2bin('DF');
  </code></pre>
  
  <p>Is it possible to get the "DF" output?</p>