我有一個小麻煩:MySQL的比較兩個字符串與民族特色
SELECT * FROM tableName tn WHERE LOWER(tn.name) = LOWER('place_string_here');
這沒關係,當它完美契合:
tn.name = orange_tree
place_string_here = Orange_Tree
但我的問題是:民族特色,如:
Hästgård
我希望 「Hästgård」,以適應: Hästgård, Hästgard, Hastgård和/或 Hastgard
有沒有什麼聰明的方法來做到這一點?
哪個字符集是你使用(和整理) –
你見過這篇文章:http://stackoverflow.com/questions/5529013 /問題排序瑞典字符MySQL的 – vikingsteve