Daily Shaarli

All links of one day in a single page.

January 12, 2022

In MySQL, use “utf8mb4” instead of “utf8”

MySQL’s “utf8” isn’t UTF-8.

The “utf8” encoding only supports three bytes per character. The real UTF-8 encoding — which everybody uses, including you — needs up to four bytes per character.

MySQL developers never fixed this bug.