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


Public Member Functions | |
| Self | __new__ (cls, str original_value) |
| str | substitute_encoding (self, _Encoding eventual_encoding="utf-8") |
Additional Inherited Members | |
Static Public Attributes inherited from bs4.element.AttributeValueWithCharsetSubstitution | |
| str | original_value |
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 become one of these objects. If the document is later encoded to an encoding other than UTF-8, its ``<meta>`` tag will mention the new encoding instead of ``utf8``.
| str bs4.element.CharsetMetaAttributeValue.substitute_encoding | ( | self, | |
| _Encoding | eventual_encoding = "utf-8" |
||
| ) |
When an HTML document is being encoded to a given encoding, the value of a ``<meta>`` tag's ``charset`` becomes the name of the encoding.
Reimplemented from bs4.element.AttributeValueWithCharsetSubstitution.