Using Swift to unescape unicode characters, ie \u1234
It’s fairly similar in Swift, though you still need to use the Foundation string classes: let transform = “Any-Hex/Java” let input = “\\u5404\\u500b\\u90fd” as NSString var convertedString = input.mutableCopy() as NSMutableString CFStringTransform(convertedString, nil, transform as NSString, 1) println(“convertedString: \(convertedString)”) // convertedString: 各個都 (The last parameter threw me for a loop until I realized that Boolean … Read more