Accent insensitive search query in MySQL

前端 未结 3 877
深忆病人
深忆病人 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:54

    This wont work in extreme circumstances, but try to change the column collation to UFT8 utf8_unicode_ci. Then accented characters will be equal to their non-accented counterparts.

提交回复
热议问题