I am developing one chat application, for that everything is working fine except. This application is in both Android and iOS platform. We want to pass emoji in the chat. In android we use UTF encoding with StringEscapeUtils
. it is working perfect in android. when we pass emoji it is encoded and stored in DB like "\u263A".
Now in android this string is also decode and shown perfect in view but some how we can not decode the same string in iOS. We have simply try to decode using UTF string. But still it is not working.
I have already follow this link Print unicode character from variable (swift)
Thanks in advance.