From 77d9a392d1188e5c5954f93c9f18ca8af773625c Mon Sep 17 00:00:00 2001 From: Benjamin Brahmer Date: Sat, 6 Aug 2022 14:07:36 +0200 Subject: fix searchstring Signed-off-by: Benjamin Brahmer --- lib/Db/Item.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/Db/Item.php b/lib/Db/Item.php index 0ed9e9113..51f373186 100644 --- a/lib/Db/Item.php +++ b/lib/Db/Item.php @@ -189,9 +189,8 @@ class Item extends Entity implements IAPI, \JsonSerializable } $search_string .= $this->getUrl(); - $search_string .= 'UTF-8'; - $this->setSearchIndex(mb_strtolower($search_string)); + $this->setSearchIndex(mb_strtolower($search_string,'UTF-8')); $this->setFingerprint($this->computeFingerprint()); $this->setContentHash($this->computeContentHash()); } -- cgit v1.2.3