ZF2-170: \Zend\Filter\StringTrim sometimes works incorrectly

Description


$filter = new \Zend\Filter\StringTrim();
$res = $filter->filter('Реально ли греет рейма?');
print $res;

It returns an empty string. But it seems other russian strings (for example "Проверка 2") work well.

php 5.3.9 ubuntu

Comments

I did comment https://github.com/zendframework/zf2/… This isssue is related to ZF-10891, too.

As I can see your space character is a little different and is more wide.

That is normal in japanese?