MediaWiki  REL1_19
UtfNormal

Classes

class  CleanUpTest
 Additional tests for UtfNormal::cleanUp() function, inclusion regression checks for known problems. More...
class  UtfNormal
 Unicode normalization routines for working with UTF-8 strings. More...

Files

file  RandomTest.php
 

Test feeds random 16-byte strings to both the pure PHP and ICU-based UtfNormal::cleanUp() code paths, and checks to see if there's a difference.


file  Utf8CaseGenerate.php
 

This script generates Utf8Case.php from the Unicode Character Database and supplementary files.


file  Utf8Test.php
 

Runs the UTF-8 decoder test at: http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-test.txt.


file  UtfNormal.php
 

Unicode normalization routines.


file  UtfNormalBench.php
 

Approximate benchmark for some basic operations.


file  UtfNormalDefines.php
 

Some constant definitions for the unicode normalization module.


file  UtfNormalGenerate.php
 

This script generates UniNormalData.inc from the Unicode Character Database and supplementary files.


file  UtfNormalMemStress.php
 

Approximate benchmark for some basic operations.


file  UtfNormalTest.php
 

Implements the conformance test at: http://www.unicode.org/Public/UNIDATA/NormalizationTest.txt.


file  UtfNormalTest2.php
 

Other tests for the unicode normalization module.


file  UtfNormalUtil.php
 

Some of these functions are adapted from places in MediaWiki.