编码
NSString*hString = [hStr stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]];
从服务器收到数据解码
NSString*str5 = [str3 stringByRemovingPercentEncoding];
来源 感谢:https://www.jianshu.com/p/ccdb6b220ac4
若要限制表情输入:
iOS限制输入表情(emoji),出现九宫格不能输入的解决方法
https://www.jianshu.com/p/d0f6c62b57e1
https://www.jianshu.com/p/907fa3164f5a
网友评论