Alexey Znaev - 2012-05-02

About

SCSU - Standard Compression Scheme for Unicode
Implementation for PHP and JavaScript
See http://www.unicode.org/reports/tr6/ for detailed information about SCSU.

Classes - PHP

There are just 2 PHP classes, both are self-documented with PHPDoc tags.

SCSU.php

The main class.
It provides methods for SCSU compression/decompression.
Based on Java source of SCSU by Unicode, Inc. http://www.unicode.org/reports/tr6/

UTF8.php

Helper class.
Very fast UTF-8 converter implementation for PHP
It converts between UTF-8 string and codepoints very fast
Based on PHP source of UTF8 functions by Henri Sivonen hsivonen@iki.fi http://iki.fi/hsivonen/php-utf8/

Classes - JavaScript

There is just 1 JavaScript Class, it is self-documented with JSDoc tags.

scsu.js

The main class.
It provides SCSU encoding/decoding of UTF-8 strings
Based on Java source of SCSU by Unicode, Inc. http://www.unicode.org/reports/tr6/

 

Last edit: Alexey Znaev 2012-05-02