NSData encoding
问题 Currently, I'm trying to parse an NSData in my iOS app. Problem is, I can't seem to find a proper hebrew encoding for parsing. I must decode the data using the Windows-1255 encoding (hebrew encoding type for windows) or ISO 8859-8 encoding, or I'll get plain gibberish. The closest I've got to solving the issue was using CFStringConvertEncodingToNSStringEncoding(CFStringEncodings.ISOLatinHebrew) yet it throws 'CFStringEncodings' is not convertible to 'CFStringEncoding' (notice Encoding s vs