Why is MySQL's default collation latin1_swedish_ci?

后端 未结 2 1732
没有蜡笔的小新
没有蜡笔的小新 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.

提交回复
热议问题