问题
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