Description
Implements the browser-oriented text encoding rules defined by WHATWG. It helps Python tools decode and label web content in the same way browsers expect, reducing surprises with legacy encodings and page metadata.
Developers use it as a compatibility library for HTML parsers, web scrapers, and document converters. Encoding detection affects the text users see, so verify results when handling old pages or mixed-language content.