Adam Hooper personal blog

In MySQL, use “utf8mb4” instead of “utf8” (2016)

Today’s bug: I tried to store a UTF-8 string in a MariaDB “utf8”-encoded database, and Rails raised a bizarre error:
Points
643
HN comments
511
Submissions
2
Cited by
0 commenters

Databases & DataSoftware Engineering2022

On Hacker News

SubmittedTitle on HNPointsComments
Jan 12, 2022In MySQL, use “utf8mb4” instead of “utf8” (2016) by goranmoomin643351
Jun 14, 2018In MySQL, don’t use “utf8”, use “utf8mb4” (2016) by mariuz244160

Related posts from the same era