On Twitter, Jan Wildeboer linked
on MySQL and the weird utf8mb4 character set.
The recommendation is correct:
In MySQL, use utf8mb4 when you mean to work with
utf8 in your programming language.
The background and reasoning for this (and why it is wrong) is way more complicated than outlined by Adam Hooper. So let’s walk through this:
MySQL utf8 means 3-byte Unicode, and
access to only the BMP
utf8 in MySQL encodes the …