Returns a zero-terminated list of the encodings string objects support in the application’s environment.
- iOS 2.0+
- macOS 10.0+
- UIKit for Mac 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
A zero-terminated list of the encodings string objects support in the application’s environment.
Among the more commonly used encodings are:
NSString type for a larger list and descriptions of many supported encodings. In addition to those encodings listed here, you can also use the encodings defined for CFString in Core Foundation; you just need to call the
CFString function to convert them to a usable format.