| 1 |
Metadata-Version: 1.1 |
| 2 |
Name: webencodings |
| 3 |
Version: 0.5.1 |
| 4 |
Summary: Character encoding aliases for legacy web content |
| 5 |
Home-page: https://github.com/SimonSapin/python-webencodings |
| 6 |
Author: Geoffrey Sneddon |
| 7 |
Author-email: [email protected] |
| 8 |
License: BSD |
| 9 |
Description: python-webencodings |
| 10 |
=================== |
| 11 |
|
| 12 |
This is a Python implementation of the `WHATWG Encoding standard |
| 13 |
<http://encoding.spec.whatwg.org/>`_. |
| 14 |
|
| 15 |
* Latest documentation: http://packages.python.org/webencodings/ |
| 16 |
* Source code and issue tracker: |
| 17 |
https://github.com/gsnedders/python-webencodings |
| 18 |
* PyPI releases: http://pypi.python.org/pypi/webencodings |
| 19 |
* License: BSD |
| 20 |
* Python 2.6+ and 3.3+ |
| 21 |
|
| 22 |
In order to be compatible with legacy web content |
| 23 |
when interpreting something like ``Content-Type: text/html; charset=latin1``, |
| 24 |
tools need to use a particular set of aliases for encoding labels |
| 25 |
as well as some overriding rules. |
| 26 |
For example, ``US-ASCII`` and ``iso-8859-1`` on the web are actually |
| 27 |
aliases for ``windows-1252``, and an UTF-8 or UTF-16 BOM takes precedence |
| 28 |
over any other encoding declaration. |
| 29 |
The Encoding standard defines all such details so that implementations do |
| 30 |
not have to reverse-engineer each other. |
| 31 |
|
| 32 |
This module has encoding labels and BOM detection, |
| 33 |
but the actual implementation for encoders and decoders is Python’s. |
| 34 |
|
| 35 |
Platform: UNKNOWN |
| 36 |
Classifier: Development Status :: 4 - Beta |
| 37 |
Classifier: Intended Audience :: Developers |
| 38 |
Classifier: License :: OSI Approved :: BSD License |
| 39 |
Classifier: Programming Language :: Python |
| 40 |
Classifier: Programming Language :: Python :: 2 |
| 41 |
Classifier: Programming Language :: Python :: 2.6 |
| 42 |
Classifier: Programming Language :: Python :: 2.7 |
| 43 |
Classifier: Programming Language :: Python :: 3 |
| 44 |
Classifier: Programming Language :: Python :: 3.3 |
| 45 |
Classifier: Programming Language :: Python :: 3.4 |
| 46 |
Classifier: Programming Language :: Python :: 3.5 |
| 47 |
Classifier: Programming Language :: Python :: 3.6 |
| 48 |
Classifier: Programming Language :: Python :: Implementation :: CPython |
| 49 |
Classifier: Programming Language :: Python :: Implementation :: PyPy |
| 50 |
Classifier: Topic :: Internet :: WWW/HTTP |