Accent insensitive search query in MySQL

前端 未结 3 876
深忆病人
深忆病人 2020-12-01 13:59

Is there any way to make search query accent insensitive?

the column\'s and table\'s collation are utf8_polish_ci and I don\'t want to change them.

example w

3条回答
  •  半阙折子戏
    2020-12-01 14:55

    You could try SOUNDEX:

    http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_soundex

    This compares two string by how they sound. But this obviously delivers many more results.

提交回复
热议问题