I have problems with special characters when using JSON in xcode 6 with fast
I found these codes in Cocoa / target C to solve some problems with accent conversion, but couldn't get it working in Swift. Any suggestions for using it? ... the best alternative suggestions would also be cool ...
thanks
NSString *input = @"\\u5404\\u500b\\u90fd"; NSString *convertedString = [input mutableCopy]; CFStringRef transform = CFSTR("Any-Hex/Java"); CFStringTransform((__bridge CFMutableStringRef)convertedString, NULL, transform, YES); NSLog(@"convertedString: %@", convertedString);
source share