What does character set and collation mean exactly?

后端 未结 4 992
后悔当初
后悔当初 2020-11-22 13:29

I can read the MySQL documentation and it\'s pretty clear. But, how does one decide which character set to use? On what data does collation have an effect?

4条回答
  •  星月不相逢
    2020-11-22 14:26

    I suggest to use utf8mb4_unicode_ci, which is based on the Unicode standard for sorting and comparison, which sorts accurately in a very wide range of languages.

提交回复
热议问题