In MySQL, don’t use “utf8”, use “utf8mb4” (2016)
11–20 of 170 posts
Re: In MySQL, don’t use “utf8”, use “utf8mb4” (2016)
#12Counterpoint: emojis are bad and should be discouraged
Re: In MySQL, don’t use “utf8”, use “utf8mb4” (2016)
#13For instance in a Laravel app I had to set the charset in the database configuration file "app/config/database.php".
Re: In MySQL, don’t use “utf8”, use “utf8mb4” (2016)
#14Given that the article says that everyone should use utf8mb4, then why don't/haven't they just fixed it? Should be easy enough, and probably safe, too.
Re: In MySQL, don’t use “utf8”, use “utf8mb4” (2016)
#15I can't for the life of me imagine how, when discussing this in a room full of competent developers, everyone just went "great idea, lets do this". Just adds to the long list of questionable MySQL engineering decisions.
Re: In MySQL, don’t use “utf8”, use “utf8mb4” (2016)
#16Re: In MySQL, don’t use “utf8”, use “utf8mb4” (2016)
#17The next hurdle is to convince people that extended grapheme clusters are the smallest divisible unit, and that just like slicing at the byte level is insufficient if you’re doing UTF-8, slicing at the code point level is insufficient. Basically, strings should just be treated as opaque data in almost all places.
Re: In MySQL, don’t use “utf8”, use “utf8mb4” (2016)
#18Re: In MySQL, don’t use “utf8”, use “utf8mb4” (2016)
#19Hi! Former Product Manager for MySQL Server here. I have a blog post on this here: https://mysqlserverteam.com/mysql-8-0-when-to-use-utf8mb3-ov... The default for MySQL 8.0 (current GA) is utf8mb4. I also recommend reading this introduction post here: http://mysqlserverteam.com/sushi-beer-an-introduction-of-utf...
Re: In MySQL, don’t use “utf8”, use “utf8mb4” (2016)
#20So MySQL is still MySQL. I'm so glad I ditched it.