![]() |
Qucs-S S-parameter Viewer & RF Synthesis Tools
|


Public Member Functions | |
| str | substitute_encoding (self, str eventual_encoding) |
Static Public Attributes | |
| str | original_value |
An abstract class standing in for a character encoding specified inside an HTML ``<meta>`` tag. Subclasses exist for each place such a character encoding might be found: either inside the ``charset`` attribute (`CharsetMetaAttributeValue`) or inside the ``content`` attribute (`ContentMetaAttributeValue`) This allows Beautiful Soup to replace that part of the HTML file with a different encoding when ouputting a tree as a string.
| str bs4.element.AttributeValueWithCharsetSubstitution.substitute_encoding | ( | self, | |
| str | eventual_encoding | ||
| ) |
Do whatever's necessary in this implementation-specific portion an HTML document to substitute in a specific encoding.
Reimplemented in bs4.element.CharsetMetaAttributeValue, and bs4.element.ContentMetaAttributeValue.