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

Home » FUDforum Development » Bug Reports » no results when a search includes a numerical character
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: no results when a search includes a numerical character [message #41011 is a reply to message #41009] Wed, 07 May 2008 00:21 Go to previous messageGo to previous message
srchild is currently offline  srchild   United Kingdom
Messages: 88
Registered: December 2003
Location: UK
Karma:
Member
Ilia wrote on Wed, 07 May 2008 00:15

It definitely does, since it used index_text() defined inside isearch.inc to index the message text.


Looking at the code for indexdb.php I can see that as you say it does call index_text() which in turn calls my modified text_to_worda()

However the behaviour of text_to_worda() is influenced by some environment variables:

        /* if no good locale, default to splitting by spaces */
        if (!$GLOBALS['good_locale']) {
                $GLOBALS['usr']->lang = 'latvian';
        }


Might it be that calling it from command line it is not setting a locale?

What would be a good way to fake an appropriate locale?




Simon Child
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: i18n characters not showing in dates! (utf-8)
Next Topic: Timezones
Goto Forum:
  

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

Current Time: Tue Nov 26 20:56:47 GMT 2024

Total time taken to generate the page: 0.04915 seconds