全部搜索项
bookworm  ] [  trixie  ] [  sid  ]
[ 源代码: golang-github-dop251-scsu  ]

软件包:golang-github-dop251-scsu-dev(0.0~git20220106.84ac880-3)

golang-github-dop251-scsu-dev 的相关链接

Screenshot

Debian 的资源:

下载源码包 golang-github-dop251-scsu

维护小组:

外部的资源:

相似软件包:

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.

下载 golang-github-dop251-scsu-dev

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 13.1 kB54.0 kB [文件列表]