How can I search by emoji in MySQL using utf8mb4?

前端 未结 1 1137
渐次进展
渐次进展 2020-12-31 04:53

Please help me understand how multibyte characters like emoji\'s are handled in MySQL utf8mb4 fields.

See below for a simple test SQL to illustrate the challenges.

相关标签:
1条回答
  • 2020-12-31 05:30

    You use utf8mb4_unicode_ci for your columns, so the check is case insensitive. If you use utf8mb4_bin instead, then the emoji

    0 讨论(0)
提交回复
热议问题