3 ms·
for those not getting the joke: mysql has a thing called "utf8" which is not in fact utf8 and will (depending on settings) either truncate text when it meets a
by riffraff 11y ago
for those not getting the joke: mysql has a thing called "utf8" which is not in fact utf8 and will (depending on settings) either truncate text when it meets a 4+ byte character, or raise an error.
It also supports real utf8 in more recent versions calling it "utf8mb4"
- simoncion 11y agoEverywhere I've used mysql, the default has been to silently truncate data that doesn't fit in the "utf8" encoding! :(
- david-given 11y agoThis made filing a bug about Thunderbird not sizing astral plane code points correctly slightly more hilarious than it should have been (Mozilla's Bugzilla instance runs on MySQL)...