title: Converting SMS encoding to UTF-8 in PHP
body: <p>I wrote an SMPP Server Transceiver in PHP.
  I get this SMS string from my SMPP. It's a UTF8 message which is actually at 7Bit. Here is a sample message:</p>
  
  <pre><code>  5d30205d30205d3
  </code></pre>
  
  <p>I know how to convert it. It should be:</p>
  
  <pre><code>  \x5d3\x020\x5d3\x020\x5d3
  </code></pre>
  
  <p>I don't want to write it myself. I guess there is already a function that does that for me. Some hidden iconv or using pack() / unpack() to convert this string to the correct format.</p>
  
  <p>I am trying to achieve this using PHP.
  Any ideas?</p>
  
  <p>Thanks.</p>