套件:golang-github-dop251-scsu-dev(0.0~git20220106.84ac880-3)
golang-github-dop251-scsu-dev 的相關連結
Debian 的資源:
下載原始碼套件 golang-github-dop251-scsu:
- [golang-github-dop251-scsu_0.0~git20220106.84ac880-3.dsc]
- [golang-github-dop251-scsu_0.0~git20220106.84ac880.orig.tar.xz]
- [golang-github-dop251-scsu_0.0~git20220106.84ac880-3.debian.tar.xz]
維護小組:
外部的資源:
- 主頁 [github.com]
相似套件:
- golang-github-nebulouslabs-fastrand-dev
- golang-golang-x-text-dev
- golang-github-gdamore-encoding-dev
- golang-github-mostynb-go-grpc-compression-dev
- cl-trivial-utf-8
- python-webencodings
- python3-webencodings
- musescore-general-soundfont-lossless
- golang-rsc-binaryregexp-dev
- pypy-unidecode
- golang-github-go-viper-mapstructure-dev
Go Implementation of Standard Compression Scheme for Unicode (library)
A Standard Compression Scheme for Unicode implementation in Go.
This in an implementation of SCSU as described in (https://www.unicode.org/reports/tr6/tr6-4.html)
Although UTF-8 is now the most commonly used and recommended encoding, in some cases the use of SCSU can be beneficial. For example when storing or transmitting short alphabetical texts (Arabic, Hebrew, Russian, etc.) where general-purpose compression algorithms are inefficient, but SCSU provides nearly 50% compression ratio over UTF-8.
The code is based on the sample Java implementation found at (ftp://ftp.unicode.org/Public/PROGRAMS/SCSU/) however the encoding algorithm has been slightly modified as the implementation above contains a few bugs.
The code has been fuzz-tested using go-fuzz to ensure that random input neither crashes the Encoder nor the Decoder, and if it happens to be a valid UTF-8, an Encode/Decode cycle produces identical output.