namespace Drupal\Core;
use Drupal\Component\Render\MarkupInterface;
-use Drupal\Component\Utility\Unicode;
use Drupal\Core\Render\BubbleableMetadata;
/**
* {@inheritdoc}
*/
public function count() {
- return Unicode::strlen($this->__toString());
+ return mb_strlen($this->__toString());
}
}