| 1 | Source: golang-github-dop251-scsu |
| 2 | Maintainer: Debian Go Packaging Team <[email protected]> |
| 3 | Uploaders: Drew Parsons <[email protected]> |
| 4 | Section: golang |
| 5 | Testsuite: autopkgtest-pkg-go |
| 6 | Priority: optional |
| 7 | Build-Depends: debhelper-compat (= 13), |
| 8 | dh-golang, |
| 9 | golang-any |
| 10 | Standards-Version: 4.6.1 |
| 11 | Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-dop251-scsu |
| 12 | Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-dop251-scsu.git |
| 13 | Homepage: https://github.com/dop251/scsu |
| 14 | Rules-Requires-Root: no |
| 15 | XS-Go-Import-Path: github.com/dop251/scsu |
| 16 | |
| 17 | Package: golang-github-dop251-scsu-dev |
| 18 | Architecture: all |
| 19 | Multi-Arch: foreign |
| 20 | Depends: ${misc:Depends} |
| 21 | Description: Go Implementation of Standard Compression Scheme for Unicode (library) |
| 22 | A Standard Compression Scheme for Unicode implementation in Go. |
| 23 | . |
| 24 | This in an implementation of SCSU as described in |
| 25 | (https://www.unicode.org/reports/tr6/tr6-4.html) |
| 26 | . |
| 27 | Although UTF-8 is now the most commonly used and recommended encoding, in |
| 28 | some cases the use of SCSU can be beneficial. For example when storing |
| 29 | or transmitting short alphabetical texts (Arabic, Hebrew, Russian, etc.) |
| 30 | where general-purpose compression algorithms are inefficient, but SCSU |
| 31 | provides nearly 50% compression ratio over UTF-8. |
| 32 | . |
| 33 | The code is based on the sample Java implementation found at |
| 34 | (ftp://ftp.unicode.org/Public/PROGRAMS/SCSU/) however the encoding |
| 35 | algorithm has been slightly modified as the implementation above |
| 36 | contains a few bugs. |
| 37 | . |
| 38 | The code has been fuzz-tested using go-fuzz to ensure that random |
| 39 | input neither crashes the Encoder nor the Decoder, and if it happens |
| 40 | to be a valid UTF-8, an Encode/Decode cycle produces identical |
| 41 | output. |