diff --git a/plugins/Referrers/Columns/Keyword.php b/plugins/Referrers/Columns/Keyword.php index 78605c9d94a4f742119e05be62870d9ee916165a..48e8a9efd481609385c30fb1e6f7bb5a0b025587 100644 --- a/plugins/Referrers/Columns/Keyword.php +++ b/plugins/Referrers/Columns/Keyword.php @@ -44,7 +44,11 @@ class Keyword extends Base $information = $this->getReferrerInformationFromRequest($request); if (!empty($information['referer_keyword'])) { - return substr($information['referer_keyword'], 0, 255); + if (function_exists('mb_substr')) { + return mb_substr($information['referer_keyword'], 0, 255, 'UTF-8'); + } else { + return substr($information['referer_keyword'], 0, 255); + } } return $information['referer_keyword'];