16

I'm planning on using utf8mb4 in my database.

Now as I've learned I should always use UTF-8 in my <meta charset, but do I always do, so when I'm using utf8mb4 in my database?

OneCricketeer
  • 179,855
  • 19
  • 132
  • 245
JeroenM
  • 807
  • 1
  • 11
  • 26

1 Answers1

27

utf8mb4 is specific to MySQL. The rest of the world calls it UTF-8.

Josh Lee
  • 171,072
  • 38
  • 269
  • 275
  • 1
    So, to clarify, in HTML the utf-8 character set is exactly the same as utf8mb4? In MySQL utf-8 is the equivalent of utf8mb3 which does not support all of the unicode characters. https://dev.mysql.com/doc/refman/8.0/en/charset-unicode-utf8.html – Chris Rogers Jan 02 '22 at 12:23