What is the difference between utf8mb4 and utf8 charsets in MySQL?

后端 未结 5 1824
轮回少年
轮回少年 2020-11-22 13:37

What is the difference between utf8mb4 and utf8 charsets in MySQL?

I already know about ASCII, UTF-8, UTF-16

5条回答
  •  隐瞒了意图╮
    2020-11-22 14:28

    The utf8mb4 character set is useful because nowadays we need support for storing not only language characters but also symbols, newly introduced emojis, and so on.

    A nice read on How to support full Unicode in MySQL databases by Mathias Bynens can also shed some light on this.

提交回复
热议问题