class documentation

A generic stand-in for the value of a meta tag's 'charset' attribute. When Beautiful Soup parses the markup '<meta charset="utf8">', the value of the 'charset' attribute will be one of these objects.

Method __new__ Undocumented
Method encode When an HTML document is being encoded to a given encoding, the value of a meta tag's 'charset' is the name of the encoding.
def __new__(cls, original_value): (source)

Undocumented

def encode(self, encoding): (source)

When an HTML document is being encoded to a given encoding, the value of a meta tag's 'charset' is the name of the encoding.