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

Issue Type: Bug Created: 2012-02-23T13:57:16.000+0000 Last Updated: 2012-06-06T12:30:48.000+0000 Status: Resolved Fix version(s): Reporter: Anton Okolelov (varanio) Assignee: Maks 3w (maks3w) Tags: - Zend\Filter

  • filter
  • stringtrim

Related issues: - ZF-7183



<pre class="highlight">
$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


Posted by Maks 3w (maks3w) on 2012-06-06T10:26:26.000+0000

Fixed with

Posted by Kazusuke Sasezaki (sasezaki) on 2012-06-06T12:01:07.000+0000

I did comment… This isssue is related to ZF-10891, too.

Posted by Maks 3w (maks3w) on 2012-06-06T12:30:12.000+0000

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

That is normal in japanese?

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.