Contents

textEncodingName

The text encoding to use.

Declaration

static let textEncodingName: NSAttributedString.DocumentReadingOptionKey

Discussion

NSString containing the name, IANA or otherwise, of a text encoding to override any encoding specified in an HTML document. Mutually exclusive with characterEncoding. The previous string constant was @"TextEncodingName".

See Also

Getting the document options