2009-09-20 68 views
13

我目前正在開發一個網站,可以顯示世界上幾乎所有語言的東西。而且我在選擇最好的排序規則以在mysql中定義時遇到問題。所有語言的Mysql熱門文章

一個是最好支持所有字符?還是最準確?

或者只是最好將所有字符轉換爲unicode?

感謝

回答

14

我一般使用8位UCS/Unicode轉換格式,對於任何(最好)語言

utf8_general_ci 

http://dev.mysql.com/doc/refman/5.0/en/charset-unicode.html

+1

完美的作品,我想用utf8_unicode_ci建議,而不是的utf8_general_ci。有關unicode爲什麼比一般更好的更多信息@ http://stackoverflow.com/questions/766809/whats-the-difference-between-utf8-general-ci-and-utf8-unicode-ci – Aistis 2014-08-07 07:56:34