Fixes problem with UTF-8 chars

fixes  https://github.com/pat/thinking-sphinx/issues/715