emoji - Java收到iOS的系统表情之后,iOS客户端请求之后显示为“?”
PHP中文网
PHP中文网 2017-04-18 09:03:39
0
1
423

环境:
JavaWeb SpringMVC,编码格式UTF-8

问题:
通过iOS Post提交表情给服务器,服务器接到数据,不存储数据库,直接返回给iOS客户端,iOS客户端显示的是“?”也就是乱码

各位遇到这种表情问题是怎么办的?

注:不想使用客户端Base64和Urlencode等编码方式;

PHP中文网
PHP中文网

认证0级讲师

reply all(1)
小葫芦

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template