./textproc/py-webencodings, Character encoding for the web

[ Image CVSweb ] [ Image Homepage ] [ Image RSS ] [ Image Required by ]


Branch: CURRENT, Version: 0.6.1, Package name: py313-webencodings-0.6.1, Maintainer: kleink

This is a Python implementation of the WHATWG Encoding standard.

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.


Required to run:
[lang/python310]

Master sites:

Filesize: 14.649 KB

Version history: (Expand)


CVS history: (Expand)


   2026-08-16 14:56:40 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-webencodings: update to 0.6.1.

0.6.1

Packaging

    Update links on PyPI.

0.6.0

Dependencies

    Support Python 3.10, 3.11, 3.12, 3.13, 3.14.
    Drop support of Python 2.6, 2.7, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8 and 3.9.

Packaging

    Include license file in packages.

Bug fixes

    Update list of encodings.
    Use correct CJK Python codecs.
    Handle "replacement" encoding.

Documentation

    Reorganize documentation.
   2025-04-14 15:08:21 by Adam Ciarcinski | Files touched by this commit (1)
Log message:
py-webencodings: remove unused PYTHON_VERSIONS_INCOMPATIBLE
   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-04-30 11:05:38 by Thomas Klausner | Files touched by this commit (2)
Log message:
py-webencodings: convert to wheel.mk.

Bump PKGREVISION.
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 13:23:42 by Nia Alarie | Files touched by this commit (1161)
Log message:
textproc: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Unfetchable distfiles (fetched conditionally?):
./textproc/convertlit/distinfo clit18src.zip
   2021-10-07 17:02:49 by Nia Alarie | Files touched by this commit (1162)
Log message:
textproc: Remove SHA1 hashes for distfiles
   2017-07-26 12:58:03 by Adam Ciarcinski | Files touched by this commit (2)
Log message:
0.5.1:
Bug fixes.