I have emotions in javascript escaped characters in a string and need to pass it to Android as json. In the android side the text has to be utf8 to display the emotion character properly. For example I have \ud83d\ude00 in a string which is a code for GRINNING FACE. But I need it to be converted to f0 9f 98 80 using Php.
I tried mb_convert_encoding and iconv but they outputs some strange characters. Please help. Thanks