sharetribe/sharetribe — pull request #350 by sktoiva (2014-03-31 14:42:22+00:00)
Title: Fixes search problems with e.g. scandinavian letters by adding property utf8? to indice definitions.

Thinking Sphinx will automatically add the SQL command SET NAMES utf8 as part of the indexing process if the database connection settings have encoding set to utf8. This is the default in Rails, but with Heroku, you need to manually make sure it's part of the DATABASE_URL environment variable (e.g. mysql2://username:password@host/database?encoding=utf8). Once that's done, a re-index should have things working.

An alternative is to have the following in each index definition:

set_property :utf8? => true