What sorting should I use when my application extends to UTF-8?

I am using MySQL, the latest version. By default, I get latin1_swedish_ci, which doesn’t sound quite right.

+3
source share
2 answers

You have to use utf8_general_ci

Here is a complete list of character sets and their description from the MySQL link site.

+4
source

You can change the default collation from the MySQL database configuration files.

Also see this link http://streetsmartingit.blogspot.com/2008/04/how-to-changeconvert-your-mysql.html for instructions on how to use it with an existing database.

+2

Source: https://habr.com/ru/post/1727042/


All Articles