flutter_socket_io icon indicating copy to clipboard operation
flutter_socket_io copied to clipboard

Android receiving Chinese characters is right, but iOS is not correct

Open randomjoho opened this issue 6 years ago • 4 comments

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.

randomjoho avatar Oct 11 '19 06:10 randomjoho

me too, sometimes normal on Ios,sometimes not.

ZNBmm avatar Dec 03 '19 03:12 ZNBmm

me too, sometimes normal on Ios,sometimes not.

found problem.

client ios 2.0 service 1.0

service node.js socket.io need update.

randomjoho avatar Dec 13 '19 02:12 randomjoho

兄弟,解决了没?这个问题我在netty-socketio里面去看了,服务器端才是根源,可惜那里也没有好的解决方案,都试过了,ios在polling的时候乱码。。。

d1bug avatar Jul 03 '20 21:07 d1bug

看下服务器的socket.io的版本是不是太低了

ZNBmm avatar Jul 04 '20 02:07 ZNBmm