Why is MySQL's default collation latin1_swedish_ci?

后端 未结 2 1730
没有蜡笔的小新
没有蜡笔的小新 2020-12-04 11:32

What is the reasoning behind setting latin1_swedish_ci as the compiled default when other options seem much more reasonable, like latin1_general_ci

相关标签:
2条回答
  • 2020-12-04 12:17

    latin1_swedish_ci is a single byte character set, unlike utf8_general_ci.

    Compared to latin1_general_ci it has support for a variety of extra characters used in European languages. So it’s a best choice if you don’t know what language you will be using, if you are constrained to use only single byte character sets.

    0 讨论(0)
  • 2020-12-04 12:26

    The bloke who wrote it was co-head of a Swedish company.

    Possibly for similar reasons, Microsoft SQL Server's default language us_english.

    0 讨论(0)
提交回复
热议问题