Page 1 of 1

Search module and html characters

Posted: Mon Dec 08, 2008 11:24 am
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