Convert string in arbitary encoding to NSString in Objective-C.