表'textconstraint'(collation utf8_general_ci)的结构如下:
+-----+---------+
| id | pattern |
+-----+---------+
| 11 | Ä |
| 27 | A |
+-----+---------+
当我查询
时SELECT * FROM textconstraint WHERE pattern = 'A' LIMIT 1;
选择以下行
+----+---------+
| id | pattern |
+----+---------+
| 11 | Ä |
+----+---------+
为什么选择A-umlaut
代替A
?
P.S。我做SET NAMES UTF8
答案 0 :(得分:1)