开发者

Why is MySQL's default collation latin1_swedish_ci?

开发者 https://www.devze.com 2023-03-22 07:03 出处:网络
W开发者_Python百科hat is the reasoning behind setting latin1_swedish_ci as the compiled default when other options seem much more reasonable, like latin1_general_ci or utf8_general_ci?The bloke who wr

W开发者_Python百科hat is the reasoning behind setting latin1_swedish_ci as the compiled default when other options seem much more reasonable, like latin1_general_ci or utf8_general_ci?


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

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


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

精彩评论

暂无评论...
验证码 换一张
取 消