Thanks for the response!

> I put this statement at the very top of the file, outside of the block.
> Maybe that will do the trick.
> 
> You also should make sure the locale exists on your system. On
> a Debian-based system, you could do
> dpkg-reconfigure locales
> and make sure the box before "en_US.UTF-8" is ticked.

I determined with `locale -a` that the locale on the box is called 
"en_US.utf8", so I added "ENV['LANG'] = 'en_US.utf8'" at the top of my 
environment.rb (right after "ENV['RAILS_ENV'] ||= 'production'".

Still getting the same error: "Error decoding input string. Check that 
you have the locale set correctly"

:(

It may be worth noting that it seems to only be a problem with this 
particular model. I am able to index a different model without any 
issues. So it's gotta be something with the data.

I noticed that my InnoDB topics table was set to latin1 charset, so I 
changed it to utf8. I still get the same error.

Not sure where to go next.

Ian.

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to