Problem sorting Swedish characters Å Ä Ö MySQL

后端 未结 3 1085
臣服心动
臣服心动 2020-12-16 03:00

I\'m trying to sort a list with asc or desc - depending on what the user choose. In the list I have the Swedish characters Å Ä Ö and it\'s here the problem shows up. I have

3条回答
  •  遥遥无期
    2020-12-16 03:29

    The general collation places Ö with O. If you want Ö at the end of the alphabet then you need to use utf8_swedish_ci.

提交回复
热议问题