localizedName(of:)
Returns a human-readable string giving the name of the specified encoding.
Declaration
static func localizedName(of encoding: String.Encoding) -> StringParameters
- encoding:
A string encoding. For possible values, see
String.Encoding.
Return Value
A human-readable string giving the name of encoding in the current locale.