iPhone Emoji Unicode Encoding UTF

纵饮孤独 提交于 2019-12-04 14:25:07

问题


I'm encoding Unicode Emoji characters into a string and loading that into a webview..

for the encoding I'm using "NSUTF8StringEncoding" But the emoji characters just show up as jiberish unicode symbols like ∆¬ÓÔÓ˝ˆ So what encoding do I need?


回答1:


NSUTF32StringEncoding did the trick, didn't see it on the list of encoding before.



来源:https://stackoverflow.com/questions/7357006/iphone-emoji-unicode-encoding-utf

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!