|
yegor
3 posts Location: Moscow Russian Federation |
31.10.2011 17:47Problem with search results encoding for discussionsHello, Achim.
I gave up trying to solve this.
Summary: However the discussions russian titles look fine in search results, the russian text looks like ������ ������
Tryed on two systems:
1) Operation system linux 2.6 / Win7
2) PHP Version 5.2.17 / 5.2.12
3) MySQL Version 5.0 / 5.1.40-community
4) Joomla! version 1.5.23
5) Extension version Discussions 1.3 for joomla 1.5
http://galushkin.jino.ru/search
Edited by yegor - 31.10.2011 17:48
Edited by yegor - 01.11.2011 19:38
|
|
yegor
3 posts Location: Moscow Russian Federation |
01.11.2011 19:39Re: Problem with search results encoding for discussionsAh!, just found out. It's a minor bug. It causes plugins\search\discussions.php search plugin to perform a search even with empty search string.
Fix: add this to the beginning of the onSearch() function
$text = trim( $text );
if ($text == '') {
return array();
}
|