zendframework/zf2 — pull request #2105 by Thinkscape (2012-08-03 20:24:59+00:00)
Title: Feature/unidecoder

### WARNING!!!
When opening FILES CHANGED tab on GitHub it takes a longer while to display an can hang your browser**

### Rationale
This PR adds `Zend\Text\UniDecoder` to zf2. It is independent, has no requirements and is an utility class.

**UniDecoder** is used to convert utf-8 strings into plain-ASCII equivalents, transliterating accents and special characters into their ASCII equivalents. The component is loosely-based on [Python Unidecoder](http://pypi.python.org/pypi/Unidecode/) and the transliteration is based on a database in form of conversion tables.

I want UniDecoder to find it's way into ZF 2.0.0 because I need it for Console transliteration in case the console is non-utf8 compatible and the Application tries to output multibyte strings. Without transliteration, the whole output will become unreadable and certain special characters can modify remote session settings, clear the screen or throw cursor around the screen.

### Basic usage
The class is a static class, similar to `Text\Multibyte` and offers a single `::decode()` method. Below is an example usage:

````php