htmlutf-8utf8mb4

Can and/or should I declare meta charset utf8mb4


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?


Solution

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