localizedName(of:)
Returns a human-readable string giving the name of a given encoding.
Declaration
class func localizedName(of encoding: UInt) -> StringParameters
- encoding:
A string encoding. For possible values, see Nsstringencoding.
Return Value
A human-readable string giving the name of encoding in the current locale.