Reputation: 528
We use Sphinx for a site search, but I'm very new to it.
It doesn't like the ™ symbol (™) - in the results I just get the question-mark-in-a-diamond symbol.
I have set the following, but no difference.
sql_query_pre = SET NAMES utf8
sql_query_pre = SET CHARACTER_SET_RESULTS=utf8
Any ideas?
Upvotes: 0
Views: 224
Reputation: 355
I'm not familiar with Sphinx But try use utf8mb4_unicode_ci for the table encoding..
INSERT INTO testT (`fieldA`) VALUES ("™");
SELECT * FROM testT;
Seems to show a fine results
Upvotes: 1