title: convert emoji to their hex code
body: <p>I'm trying to detect the emoji that I get through e.g. a POST (the source ist not necessary).</p>
  
  <p>As an example I'm using this emoji: ✊ (I hope it's visible)</p>
  
  <p>The code for it is <code>U+270A U+1F3FE</code> (I'm using <a href="http://unicode.org/emoji/charts/full-emoji-list.html" rel="noreferrer">http://unicode.org/emoji/charts/full-emoji-list.html</a> for the codes)</p>
  
  <p>Now I converted the emoji with json_encode and I get: <code>\u270a\ud83c\udffe</code></p>
  
  <p>Here the only part that is equal is <code>270a</code>. <code>\ud83c\udffe</code> is not equal to <code>U+1F3FE</code>, not even if I add them together (<code>1B83A</code>)</p>
  
  <p>How do I get from ✊ to <code>U+270A U+1F3FE</code> with e.g. php?</p>