I've been using your WebSocketStompKit library. Pretty great! Thanks for making it.
I noticed an issue when trying to send special characters like é. The count is calculated incorrectly, resulting in a failure to send the message.
I think there's a fix on line 372 of WebSocketStompKit.m. You just need to calculate the length using UTF-8.
So the calculation should be:
[body lengthOfBytesUsingEncoding:NSUTF8StringEncoding]
in this file:
https://github.com/rguldener/WebsocketStompKit/blob/master/WebsocketStompKit/WebsocketStompKit.m#L372
Thanks again for this library.
I've been using your WebSocketStompKit library. Pretty great! Thanks for making it.
I noticed an issue when trying to send special characters like é. The count is calculated incorrectly, resulting in a failure to send the message.
I think there's a fix on line 372 of WebSocketStompKit.m. You just need to calculate the length using UTF-8.
So the calculation should be:
[body lengthOfBytesUsingEncoding:NSUTF8StringEncoding]
in this file:
https://github.com/rguldener/WebsocketStompKit/blob/master/WebsocketStompKit/WebsocketStompKit.m#L372
Thanks again for this library.