On 3/13/07, Jonathan Weiss <[EMAIL PROTECTED]> wrote: > > > > > It's not too hard. Something like; > > > > $ sudo apt-get install debconf > > $ sudo dpkg-reconfigure locales > > > On the notion of the locale stuff, would it be possible to create a > configuration option that explicitly sets Ferret to UTF-8 mode? > > I think that a lot of people have been bitten by this and an explicit > configuration option IMHO make a lot of sense. With acts_as_ferret it > would look maybe like this > > > class A < ActiveRecrod::Base > acts_as_ferret :encoding => 'utf8' > end
The problem is that this may give people the false impression that Ferret will handle UTF-8 even when they don't have a UTF-8 locale installed. For example, adding this configuration option wouldn't have helped Caleb. I guess one possibility would be to raise an exception if the locale isn't available. You could also automatically convert all text to UTF-8 using iconv. I don't know how much this would help but I would certainly commit a patch along these lines if anyone is up for it. Cheers, Dave -- Dave Balmain http://www.davebalmain.com/ _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

