You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was using your client with swift 2.3 and it was working well. Now I updated to latest version of this client for using with Swift 3 and now I have problems with Turkish characters.
My code:
self.socket.on("processmessage") {data, ack in
if let json = data[0] as? NSDictionary {
print("message income")
print(json)
}
}
Output (Swift 3):
message income
{
message = "\U00c3\U00a7\U00c3\U00a7\U00c3\U00a7";
messageId = 433015;
}
Output (Swift 2.3):
message income
{
message = "ççç";
messageId = 433015;
}
Nothing changed on server side. How can I fix this problem?
Thanks
The text was updated successfully, but these errors were encountered:
When you say latest, do you mean v10? If your server is socket.io 1.0 you have to use v9.0.1 of the client. v10 is not backwards compatible with socket.io 1.0.
Hi
I was using your client with swift 2.3 and it was working well. Now I updated to latest version of this client for using with Swift 3 and now I have problems with Turkish characters.
My code:
Output (Swift 3):
Output (Swift 2.3):
Nothing changed on server side. How can I fix this problem?
Thanks
The text was updated successfully, but these errors were encountered: