Home » Internationalization » I18N_UnicodeNormalizer
Unicode Normalizer
This package is unmaintained.
Download latest release 1.0.0 (archived versions might be outdated)
License: The BSD License
Description
"...Unicode's normalization is the concept of character composition and decomposition.
Character composition is the process of combining simpler characters into fewer precomposed characters, such as the n character and the combining ~ character into the single n+~ character. Decomposition is the opposite process, breaking precomposed characters back into their component pieces...
...Normalization is important when comparing text strings for searching and sorting (collation)..." [Wikipedia]
Performs the 4 normalizations:
NFD: Canonical Decomposition NFC: Canonical Decomposition, followed by Canonical Composition NFKD: Compatibility Decomposition NFKC: Compatibility Decomposition, followed by Canonical Composition Complies with the official Unicode.org regression test.
Uses UTF8 binary strings natively but can normalize a string in any UTF format.
Fully tested with phpUnit. Code coverage test close to 100%.
Maintainers
- Michel Corne (mcorne) — lead, active
Dependencies
Required
- PHP (>= 5.0)
- PEAR Installer (>= 1.4.0)
Optional
Releases
- 1.0.0 (stable, 2007-08-04)
Release notes
License: The BSD License
* First stable release
- 1.0.0RC4 (beta, 2007-07-25)
Release notes
License: The BSD License
* Fixed Bug #11674: test failures on 64-bit Linux,
actually due to PHP Bug #42101: mb_substr error if length = PHP_INT_MAX - 1.0.0RC3 (beta, 2007-07-23)
Release notes
License: The BSD License
* Added method calls debug trace
* Fixed class version tags - 1.0.0RC2 (beta, 2007-07-07)
Release notes
License: The BSD License
* Changed the AllTests main class name to comply with the QA PEAR-wide unit test
- 1.0.0RC1 (beta, 2007-07-06)
Release notes
License: The BSD License
* Initial PEAR release
* Testing with PHPUnit
* Various fixes and enhancements
Bugs
| ID | Status | Type | Version | Date | Summary |
|---|---|---|---|---|---|
| #11674 | Closed | Bug | 1.0.0RC3 | 2007-07-23 | test failures on 64-bit Linux |