Hey .. i just set the followings:
ENV['LC_CTYPE'] = 'en_US.UTF-8' Ferret.locale = "en_US.UTF-8" see http://bugs.omdb.org/browser/trunk/config/environment.rb searching for utf-8 works great, i've indexed characters in german, english, asian languages, hebrew and other.. Ben On 2007-09-02, at 12:03 PM, 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. > > I don't know what to do, so I asked to professional, who do this!! > > Thanks for your replies! > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Ferret-talk mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/ferret-talk _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

