-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some utf8 characters may become "???', if polling is used #516
Conversation
Hi! Thanks for your contribution. How about this line: Does it affect too? |
Thanks! I'm not sure about this line. |
Hi, this line affect too: |
Thank you! |
@HenryOrz The polling is used, I removed the line, and it works when send message from client to server. But when sending utf8 characters from server to client, the client received 'ä¸å�½ç��å�°'. If you also have the same issue? |
HAVE YOU SOLVE IT? |
HAVE YOU SOLVE IT? |
It works now, but I still rollback from v1.7.18 to v1.7.12. Because I got another bug in v1.7.18, sometimes when reconnect, it still use the previous SocketIOClient rather than create a new one. |
Hi,
I found that there is something confusing at com.corundumstudio.socketio.protocol.PacketDecoder, it may convert some utf8 characters to "???"
I create an issue
this line is very confusing:
packet = new String(packet.getBytes(CharsetUtil.ISO_8859_1), CharsetUtil.UTF_8);
some other detail I record in the issue515