tags:

views:

32

answers:

0

I'm trying to programmatically determine if an iPhone Info.plist is an ASCII (or UTF-8 or UTF-16) file, or, a binary file. I've been investigating the

[NSString stringWithContentsOfFile:encoding:error]

and I've tried multiple different encodings, including NSASCIIStringEncoding and NSUTF8StringEncoding, and NSUnicodeStringEncoding. None of these are achieving the desired result. Any assistance will be greatly appreciated.