X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Flib%2FDrupal%2FComponent%2FRender%2FFormattableMarkup.php;fp=web%2Fcore%2Flib%2FDrupal%2FComponent%2FRender%2FFormattableMarkup.php;h=2bad2ec8c511842c0b6a9bc9484ed3340b181c02;hp=1b91b9d93a8370c5d6d8e8879a7888109933bfd6;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/web/core/lib/Drupal/Component/Render/FormattableMarkup.php b/web/core/lib/Drupal/Component/Render/FormattableMarkup.php index 1b91b9d93..2bad2ec8c 100644 --- a/web/core/lib/Drupal/Component/Render/FormattableMarkup.php +++ b/web/core/lib/Drupal/Component/Render/FormattableMarkup.php @@ -3,7 +3,6 @@ namespace Drupal\Component\Render; use Drupal\Component\Utility\Html; -use Drupal\Component\Utility\Unicode; use Drupal\Component\Utility\UrlHelper; /** @@ -107,7 +106,7 @@ class FormattableMarkup implements MarkupInterface, \Countable { * The length of the string. */ public function count() { - return Unicode::strlen($this->string); + return mb_strlen($this->string); } /**