diff --git a/sphinx.conf b/sphinx.conf index 6b2ef2e..b1e7d2d 100644 --- a/sphinx.conf +++ b/sphinx.conf @@ -43,6 +43,7 @@ index files_index source files_index_delta : files_index { + sql_query_pre = SET NAMES utf8 sql_query = \ SELECT fls.fileid, fls.path, fls.size as filesize, \ torrents.hash as hash, torrents.name as name, torrents.size as size, \ @@ -95,6 +96,7 @@ index torrents_index source torrents_index_delta : torrents_index { + sql_query_pre = SET NAMES utf8 sql_query = \ SELECT torrents.torrentid, torrents.hash as hash, torrents.name as name, torrents.size as size, \ torrents.seeders, torrents.leechers, torrents.completed, \