python-webencodings 0.5.1-ok1.1 source package in openKylin
Changelog
python-webencodings (0.5.1-ok1.1) nile; urgency=medium * Build for openkylin. -- rtlhq <nobelxyz@163.com> Sat, 02 Sep 2023 18:10:25 +0800
python-webencodings (0.5.1-ok1.1) nile; urgency=medium * Build for openkylin. -- rtlhq <nobelxyz@163.com> Sat, 02 Sep 2023 18:10:25 +0800
Series | Published | Component | Section | |
---|---|---|---|---|
Nile V2.0 | release | main | python | |
Nile V2.0 | proposed | main | python |
File | Size | SHA-256 Checksum |
---|---|---|
python-webencodings_0.5.1-ok1.1.tar.xz | 9.6 KiB | 91523dfcb9e61ead80391d4cf93d62e9e72a13470e67fd9dfe64540993538c33 |
python-webencodings_0.5.1-ok1.1.dsc | 1.6 KiB | 4f8fb09e66cbec594e1915f6f80aa25d3adcababdba75ee24dcf2dbd25438ef9 |
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 an UTF-8 or UTF-16 BOM takes precedence over any other
encoding declaration. The Encoding standard defines all such details so that
implementations do not have to reverse-engineer each other.
.
This module has encoding labels and BOM detection, but the actual
implementation for encoders and decoders is Python’s.
.
This package provides the module for Python 3.