Thread: iso-8859-7
View Single Post
Old 12-30-2003, 03:42 AM   #27
mkst
Green Mole
 
Join Date: Oct 2003
Posts: 11
Hello!

I tried this as well, however something is wrong again...I tried to index a site that contained greek words and some english words.
The keywords table contains all the greek (with greek characters) and english words. The search works perfect when I search for an english word however when I search for a greek word (which exist in the keywords table) i get no results.

When I removed the follwoing line (101) from search_function.php it seemed to work fine for both greek and english. Any ideas?

PHP Code:
if (eregi("[^[:alnum:]^ +^-]+",$query_to_parse)) { $query_to_parse eregi_replace("[^[:alnum:]^ ]+"," ",$query_to_parse); } 
The $query_to_parse variable is always set to an emty string when i search for greek.

ps. The client and server charsets are set to latin1
mkst is offline   Reply With Quote