I have tried many code snippets here at stackoverflow without success.
I am looking for a php function to convert -
"This is a smiley "%uD83D%uDE0B"
to
"This is a smiley "
Here is a working example of what I am trying to achieve.
http://www.online-toolz.com/tools/text-unicode-entities-convertor.php
Under: Decode/Unescape Unicode Entities