Path: csiph.com!aioe.org!news.servidellagleba.it!bofh.it!news.nic.it!robomod From: Edward Betts Newsgroups: linux.debian.bugs.dist,linux.debian.devel,linux.debian.maint.python Subject: Bug#1017080: ITP: translitcodec -- Python Unicode to 8-bit charset transliteration codec Date: Sat, 13 Aug 2022 10:10:01 +0200 Message-ID: X-Original-To: Debian Bug Tracking System X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Sat Aug 13 08:09:10 2022 Old-Return-Path: X-Spam-Flag: NO X-Spam-Score: -3.76 Reply-To: Edward Betts , 1017080@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: debian-devel@lists.debian.org, debian-python@lists.debian.org, wnpp@debian.org X-Debian-Pr-Message: report 1017080 X-Debian-Pr-Package: wnpp MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Debian-Message: from BTS X-Mailing-List: archive/latest/1728955 List-ID: List-URL: Approved: robomod@news.nic.it Lines: 33 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sat, 13 Aug 2022 09:05:50 +0100 X-Original-Message-ID: <20220813080550.oizv5aoa2whvbnk3@4angle.com> Xref: csiph.com linux.debian.bugs.dist:1112871 linux.debian.devel:105291 linux.debian.maint.python:14339 Package: wnpp Severity: wishlist Owner: Edward Betts X-Debbugs-Cc: debian-devel@lists.debian.org, debian-python@lists.debian.org * Package name : translitcodec Version : 0.7.0 Upstream Author : Jason Kirtland * URL : https://github.com/claudep/translitcodec * License : MIT Programming Lang: Python Description : Unicode to 8-bit charset transliteration codec This package contains codecs for transliterating ISO 10646 texts into best-effort representations using smaller coded character sets (ASCII, ISO 8859, etc.). The translation tables used by the codecs are from the 'transtab' collection by Markus Kuhn. . Three types of transliterating codecs are provided: . "long", using as many characters as needed to make a natural replacement. For example, \u00e4 LATIN SMALL LETTER A WITH DIAERESIS 'ä' will be replaced with 'ae'. . "short", using the minimum number of characters to make a replacement. For example, \u00e4 LATIN SMALL LETTER A WITH DIAERESIS 'ä' will be replaced with 'a'. . "one", only performing single character replacements. Characters that can not be transliterated with a single character are passed through unchanged. For example, \u2639 WHITE FROWNING FACE '☹' will be passed through unchanged. I plan to maintain this package as part of the Python team.