I am developing a Chinese SMS application which is converting the Chinese characters into it's unicode version.
For the SMS application the unicode needs to be in the hex format, (e.g. "4E0A" which is the Chinese world for "above") however when I try to use mb_convert_encoding or utf8_encode I keep getting the html unicode (continuing with the above example, "上" -> "&# 19978 ;").
What commands or functions in PHP can I use to convert the Chinese character to just the hex (e.g. "above" in Chinese to "4E0A" instead of "&# 19978 ;").
Thanks for your help in advance!🙂