diff --git a/lib/Db/Item.php b/lib/Db/Item.php index 0ed9e91135..51f3731861 100644 --- a/lib/Db/Item.php +++ b/lib/Db/Item.php @@ -189,9 +189,8 @@ public function generateSearchIndex(): void } $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()); }