环境:
JavaWeb SpringMVC,编码格式UTF-8
问题:
通过iOS Post提交表情给服务器,服务器接到数据,不存储数据库,直接返回给iOS客户端,iOS客户端显示的是“?”也就是乱码
各位遇到这种表情问题是怎么办的?
注:不想使用客户端Base64和Urlencode等编码方式;
高洛峰2017-04-18 09:05:39
UTF8mb4 expressions are 4 byte codes. Check to see if the header file of the data you return is UTF-8. When asking such a question, it is best to take screenshots of the submitted request data and the returned request data. It’s easier for people to see the problem.