开发者

Which collation should I use when my entire application goes for UTF-8?

开发者 https://www.devze.com 2022-12-15 01:33 出处:网络
I\'m using MySQL, latest version. By default I get la开发者_如何学编程tin1_swedish_ci which doesn\'t sound really correct.You should use utf8_general_ci

I'm using MySQL, latest version. By default I get la开发者_如何学编程tin1_swedish_ci which doesn't sound really correct.


You should use utf8_general_ci

Here is a full list of the character sets and their descriptions from the MySQL reference site.


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 doing it with an existing database.

0

精彩评论

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