python-webencodings
Character encoding aliases for legacy web content
- Current
- 0.5.1
- Candidate
- 0.6.1Stale
- License
- BSD-3-Clause
RuntimeDeps
Optional RuntimeDeps
| Dependency | Observed source | Current requirement | Candidate requirement |
|---|---|---|---|
furoUnmapped | — | Not observed | |
9.0.3 | Not observed | ||
ruffUnmapped | — | Not observed | |
9.1.0 | Not observed |
Dependency conditions
- Applies when (any)
- extra == "doc"
- Applies when (any)
- extra == "test"
- Applies when (any)
- extra == "test"
- Applies when (any)
- extra == "doc"
Description
In order to be compatible with legacy web content when interpreting something like Content-Type: text/html; charset=latin1, tools need to use a particular set of aliases for encoding labels as well as some overriding rules. For example, US-ASCII and iso-8859-1 on the web are actually aliases for windows-1252, and a UTF-8 or UTF-16 BOM takes precedence over any other encoding declaration. The WHATWG https://encoding.spec.whatwg.org/,Encoding standard defines all such details so that implementations do not have to reverse-engineer each other. This module implements the Encoding standard and has encoding labels and BOM detection, but the actual implementation for encoders and decoders is Python’s.
Changelog
PR · 4
Checks
| Monitor | Observation | Last checked |
|---|---|---|
Stale Repository refresh: git fetch exited 128 (authentication) | ||
Stale Source last confirmed at 2026-11-10T23:09:30+00:00; repository refresh overdue. | ||
Checked | ||
Checked | ||
Not configured No reliable monitor identity/configuration. | — | |
Metadata unavailable Provider license expression is invalid SPDX metadata or exceeds the comparison budget. | Last attempted | |
Partial evidence current: Comparable upstream runtime requirement declarations are missing. | ||
Checked Current source component only; local patches, build options, bundled dependencies and binary artifacts are not evaluated. | ||
Checked | Last attempted |