We keep diving into Magento 2. Today we are going to make a detailed examination of one of the basic elements of any CMS structure — its configuration. Things a developer can do, ways to save data and increase basic capacities.
Question: “I am experiencing problems when I try to search “lædersnørre” on the Prestashop website, using special characters “æ” and “ø” . This word will be found only if I type “laedersnorre”. I was wondering if you have run into this special characters problem previously, maybe with some cyrillic letters?”
Answer: Replace your Search.php file with this Search.
A new file contains comments in Search -> indexation ()
$word = Tools::substr($word, 0, PS_SEARCH_MAX_WORD_LENGTH);
// Remove accents
/* $word = Tools::replaceAccentedChars($word); */