Does anyone know why latin1_swedish is the default for MySQL. It would seem to me that UTF-8 would be more compatible right?
Defaults are usually chosen because they are the best universal choice, but in this case it does not seem thats what they did.
As far as I can see,
latin1was the default character set in pre-multibyte times and it looks like that’s been continued, probably for reasons of downward compatibility (e.g. for olderCREATEstatements that didn’t specify a collation).From here:
As to why Swedish, I can only guess that it’s because MySQL AB is/was Swedish. I can’t see any other reason for choosing this collation, it comes with some specific sorting quirks (ÄÖÜ come after Z I think), but they are nowhere near an international standard.