mobile-web-messaging / StompKit

STOMP Objective-C Client for iOS
Apache License 2.0
95 stars 82 forks source link

16-bit Unicode character support #24

Open kloned opened 10 years ago

kloned commented 10 years ago

@jmesnil we've not been able to deal with some unicode characters (especially with cyrillic and romanian). Solved by replacing %c with %C in [body appendString:[NSString stringWithFormat:@"%c", c]];

String Format Specifiers description: https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/Strings/Articles/formatSpecifiers.html#//apple_ref/doc/uid/TP40004265-SW1