On Sun, Sep 02, 2007 at 12:03:59PM +0200, Igor K. wrote:
> Hello,
> 
> I'm trying to setup ferret search engine(what i did successfully for
> searching english phrases, words)
> 
> But i doesn't work for UTF-8 symbols!!!
> 
> I tried  to find the solution for this problem:
> 1) i add to enviroment.rb followinf lines:
>   ENV['LANG'] = '[EMAIL PROTECTED]'
>   ENV['LC_TIME'] = 'C'
>   require 'acts_as_ferret'
> 2) next i using scaffold added few posts(my model, that i index this
> way:
>     acts_as_ferret :fields => [ :name, :post ]
> 
> English phrases searching well, but for german it get empty result
> array.

Does this apply for searching via a web form, or in unit tests? Maybe
non-ascii characters in your queries get garbled before ferret even gets
to see them?

The same applies for the content you save.

Jens

-- 
Jens Krämer
webit! Gesellschaft für neue Medien mbH
Schnorrstraße 76 | 01069 Dresden
Telefon +49 351 46766-0 | Telefax +49 351 46766-66
[EMAIL PROTECTED] | www.webit.de
 
Amtsgericht Dresden | HRB 15422
GF Sven Haubold, Hagen Malessa
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to