flutter_socket_io
flutter_socket_io copied to clipboard
Android receiving Chinese characters is right, but iOS is not correct
Describe the bug Android receiving Chinese characters is right, but iOS is not correct. use transports: [Transports.POLLING]
Android: [{"msg":[{"method":"SystemNot","action":"1","ct":"直播内容包含任何低俗、暴露和涉黄内容,账号会被封禁;安全部门会24小时巡查哦~","msgtype":"4"}],"retcode":"000000","retmsg":"OK"}]
iOS: [{"msg":[{"method":"SystemNot","action":"1","ct":"ç´æå 容å å«ä»»ä½ä½ä¿ãæ´é²åæ¶é»å 容ï¼è´¦å·ä¼è¢«å°ç¦ï¼å®å ¨é¨é¨ä¼24å°æ¶å·¡æ¥å¦ï½","msgtype":"4"}],"retcode":"000000","retmsg":"OK"}]
Expected behavior A clear and concise description of what you expected to happen.
Device details:
- Device Type: Device
- Model: iPhone XR
- OS: iOS 12.4.1
- Package Version [e.g. 22]
Relevant Logs
Add any relevant logs about the problem here.
please help.thanks.
me too, sometimes normal on Ios,sometimes not.
me too, sometimes normal on Ios,sometimes not.
found problem.
client ios 2.0 service 1.0
service node.js socket.io need update.
兄弟,解决了没?这个问题我在netty-socketio里面去看了,服务器端才是根源,可惜那里也没有好的解决方案,都试过了,ios在polling的时候乱码。。。
看下服务器的socket.io的版本是不是太低了