Contents

textEncodingName

The name of the text encoding to use.

Declaration

static let textEncodingName: NSAttributedString.DocumentAttributeKey

Discussion

An NSString object containing the name, IANA or otherwise, of a text encoding to be used. This attribute is mutually exclusive with characterEncoding.

See Also

Getting document type keys