Search module and html characters

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
perin
New Member
New Member
Posts: 7
Joined: Mon Oct 23, 2006 1:12 pm

Search module and html characters

Post by perin »

Hi. I'm running cmsms 1.3.1 on a windows server, database  is Mysql 5.0 and search module is 1.5.

When content is  coded with html special chars, the search function is not working on those words,
The encoding on the page is set to utf-8. The page is in swedish and therefor have a lot of "å, ä,ö "

Have tried to not represent the characters with  HTML entities on the same page, and then the search is working.

Have tried tu uncomment following  line in action.dosearch.php, but it not help.
    $ary[] = "word = " .$db->qstr(htmlentities($word, ENT_COMPAT, 'UTF-8'));

Best Regards
Per-Ove
Post Reply

Return to “CMSMS Core”