FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Searching in Hebrew
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Searching in Hebrew [message #35801] Fri, 09 February 2007 22:50 Go to next message
syslin is currently offline  syslin   Israel
Messages: 14
Registered: February 2007
Karma: 0
Junior Member
Hi friends,
So I translate (and now I have to check) the FUDforum to support Hebrew too, and all look good but the search does not working when I want to search for Hebrew string.

I change the Locate to he_IL.utf8 and then I added a new topic. the Subject is in Hebrew and the body text is mixed Hebrew & English.

When I tried to search, I entered the subject text in Hebrew and the search engine return no results. Then I tried to search in hebrew for some text in Hebrew that exist in the body on the message in the same - no results. When I did a search in English on the text intoo the body of the message and I GOT a results.

So... I wrote a simple PHP file that connect to the mySQL database server and use a select query on the fud26_msg tables and print the subject in the browser - it woek fine I saw the hebrew. Then I add to the SELECT query a WHERE subject LIKE '%(Hebrew Text)%' and it works great.

I tried to use "SET NAMES UTF8" before entering data and before query data but it didn't solve my issue.


Any Idea?

Thanks
Miki

[Updated on: Fri, 09 February 2007 22:50]

Report message to a moderator

Re: Searching in Hebrew [message #35811 is a reply to message #35801] Mon, 12 February 2007 20:43 Go to previous messageGo to next message
syslin is currently offline  syslin   Israel
Messages: 14
Registered: February 2007
Karma: 0
Junior Member
Any one???
Re: Searching in Hebrew עברית [message #35820 is a reply to message #35801] Wed, 14 February 2007 12:31 Go to previous messageGo to next message
syslin is currently offline  syslin   Israel
Messages: 14
Registered: February 2007
Karma: 0
Junior Member
עברית
Re: Searching in Hebrew [message #35826 is a reply to message #35801] Wed, 14 February 2007 23:14 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
The search system is implemented by breaking text into words and creating a word index based on those words. I am guessing utf-8 representation of hebrew breaks on this. One we have an official Hebrew support we'll look into making the search work

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: just a question
Next Topic: Change the date format
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 18:11:18 GMT 2024

Total time taken to generate the page: 0.02229 seconds