Page 1 of 1

Module Search

Posted: Tue Jul 10, 2007 2:34 pm
by sergvic
Why search of Russian words does not work ?
The site encoding "windows-1251".

Re: Module Search

Posted: Thu Aug 09, 2007 11:46 pm
by tehna
In /modules/Search/action.dosearch.php i replace

Code: Select all

htmlentities($word, ENT_COMPAT, 'UTF-8'));
with

Code: Select all

htmlspecialchars($word, ENT_COMPAT, 'windows-1251'));
on line 26. I don't now is this the right thing, but it work for me.