Type Property

defaultCStringEncoding

Returns the C-string encoding assumed for any method accepting a C string as an argument.

Declaration

static var defaultCStringEncoding: String.Encoding { get }

See Also

Working with Encodings

static var availableStringEncodings: [String.Encoding]

Returns an Array of the encodings string objects support in the application’s environment.

static func localizedName(of: String.Encoding) -> String

Returns a human-readable string giving the name of a given encoding.