#1148635 ITP: golang-github-saintfish-chardet -- character set detection library ported from ICU

Package:
wnpp
Source:
wnpp
Submitter:
Juan Manuel Méndez Rey
Date:
2026-09-21 12:53:09 UTC
Severity:
normal
#1148635#5
Date:
2026-09-21 12:52:41 UTC
From:
To:
* Package name    : golang-github-saintfish-chardet
  Version         : 0.0~git20230101.5e3ef4b
  Upstream Contact: yusheng.sjtu@gmail.com
* URL             : https://github.com/saintfish/chardet
* License         : Expat and ICU
  Programming Lang: Go
  Description     : character set detection library ported from ICU

Character set detection library for Go, ported from the detection
 algorithm and statistical data of the International Components for Unicode
 (ICU) project. Given a byte slice it returns ranked guesses of the text's
 encoding and language, each with a confidence score.
 .
 Separate detectors are provided for plain text and for HTML, the latter
 ignoring markup when scoring. Recognisers cover the single-byte ISO-8859 and
 windows-125x families, UTF-8, UTF-16/32 with and without BOM, ISO-2022, and
 the CJK multi-byte encodings Big5, GB18030, EUC-JP, EUC-KR and Shift_JIS.
 .
 This package is a build dependency of syft (ITP https://bugs.debian.org/1124819).

I intend to maintain this package within the Debian Go Packaging Team.