namespace Drupal\Component\Render;
-use Drupal\Component\Utility\Unicode;
-
/**
* Implements MarkupInterface and Countable for rendered objects.
*
* The length of the string.
*/
public function count() {
- return Unicode::strlen($this->string);
+ return mb_strlen($this->string);
}
/**