Bug fix - Suggest with utf8 accents éèà
Posted: Wed Mar 23, 2016 3:44 pm
Script URL: I swear I have a licence ! (Private message me if required !)
Version of script: 2.6.5
Hosting company: myself
What terms did you try when SEARCHING for a solution: substr suggest mb_
Write your message below:
In knowledge base auto suggest, when using UTF8 characters such "éèà", if a character stored on multiple bytes is under the cut, this result in question mark like this
In order to fix it, in lines 93 and 97 of suggest_articles.php I use mb_substr function instead of substr.
If this fix is correct and if you can add it to next release this would be awesome.
Best regards
Araviski
Version of script: 2.6.5
Hosting company: myself
What terms did you try when SEARCHING for a solution: substr suggest mb_
Write your message below:
In knowledge base auto suggest, when using UTF8 characters such "éèà", if a character stored on multiple bytes is under the cut, this result in question mark like this

In order to fix it, in lines 93 and 97 of suggest_articles.php I use mb_substr function instead of substr.
If this fix is correct and if you can add it to next release this would be awesome.
Best regards
Araviski