zendframework/zf2 — pull request #5606 by lennartf (2013-12-12 09:57:07+00:00)
Title: Decode the raw path before preg matching

Decode the raw path before preg matching to enable the use of translation on segments into languages with special characters.

For example:
'router' => array(
'router_class' => 'Zend\Mvc\Router\Http\TranslatorAwareTreeRouteStack',
....
'route' => '/{category}/:category',
....

with the following in the ja_JP.php language file:
'category' => 'カテゴリー',

would now enable you to use fully translated urls:
http://example.org/カテゴリー/花

This fails currently because the route tries to match against an url encoded value of the japanese word for category.