charset
Returns the character encoding of the subfile.
You can use this method to get the character encoding of a subfile, if that information is available without extracting the subfile. This is primarily useful for getting the character encoding of mail message body subfiles, because file formats rarely contain character encoding information for other types of subfile.
Syntax
Encoding charset() const;